Entity Code:
http://pastebin.com/fJNpbG9C
Snippet:
EntityMeteorZombie zombie = new EntityMeteorZombie(world, this.posX, this.posY, this.posZ);
zombie.setCurrentItemOrArmor(1, new ItemStack(Items.iron_helmet));
zombie.setPosition(this.posX, this.posY, this.posZ);
//zombie.setLocationAndAngles(this.posX, this.posY, this.posZ, MathHelper.wrapAngleTo180_float(rand.nextFloat() * 360.0F), 0.0F);
//zombie.rotationYawHead = zombie.rotationYaw;
//zombie.renderYawOffset = zombie.rotationYaw;
if (!world.isRemote) {
this.worldObj.spawnEntityInWorld(zombie);
zombie.playLivingSound();
}
// Spawn Meteor zombies
//this.worldObj.spawnEntityInWorld(new EntityMeteorZombie(World, i+randX, j+1, k+randZ));
I dont seem to be able to spawn them. have I done anything wrong?