}
public static void summonNecro(World world, double posX, double posY, double posZ,
EntityLiving owner, Entity target) {
int x = world.rand.nextInt(2);
EntityMob en = x == 0 ? new EntitySkeleton(world) : new EntityZombie(world);
en.setLocationAndAngles(posX, posY, posZ, 0.0F, 0.0F);
world.spawnEntityInWorld(en);
en.setAttackTarget((EntityLiving) target);
Necromancer necro = new Necromancer(world);
necro.setLocationAndAngles(posX, posY, posZ, 0, 0);