public readonly int Dimension; // CRAFTBUKKIT public override void UpdateEntityWithOptionalForce(net.minecraft.src.Entity entity , bool flag) { if (!mcServer.spawnPeacefulMobs && ((entity is net.minecraft.src.EntityAnimal) || (entity is net.minecraft.src.EntityWaterMob))) { entity.SetEntityDead(); } if (entity.riddenByEntity == null || !(entity.riddenByEntity is net.minecraft.src.EntityPlayer )) { base.UpdateEntityWithOptionalForce(entity, flag); } }