Java 类net.minecraft.entity.passive.EntityChicken 实例源码
项目:DecompiledMinecraft
文件:BiomeGenJungle.java
public BiomeGenJungle(int p_i45379_1_, boolean p_i45379_2_)
{
super(p_i45379_1_);
this.field_150614_aC = p_i45379_2_;
if (p_i45379_2_)
{
this.theBiomeDecorator.treesPerChunk = 2;
}
else
{
this.theBiomeDecorator.treesPerChunk = 50;
}
this.theBiomeDecorator.grassPerChunk = 25;
this.theBiomeDecorator.flowersPerChunk = 4;
if (!p_i45379_2_)
{
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityOcelot.class, 2, 1, 1));
}
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityChicken.class, 10, 4, 4));
}
项目:DecompiledMinecraft
文件:BiomeGenJungle.java
public BiomeGenJungle(int p_i45379_1_, boolean p_i45379_2_)
{
super(p_i45379_1_);
this.field_150614_aC = p_i45379_2_;
if (p_i45379_2_)
{
this.theBiomeDecorator.treesPerChunk = 2;
}
else
{
this.theBiomeDecorator.treesPerChunk = 50;
}
this.theBiomeDecorator.grassPerChunk = 25;
this.theBiomeDecorator.flowersPerChunk = 4;
if (!p_i45379_2_)
{
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityOcelot.class, 2, 1, 1));
}
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityChicken.class, 10, 4, 4));
}
项目:BaseClient
文件:BiomeGenJungle.java
public BiomeGenJungle(int p_i45379_1_, boolean p_i45379_2_)
{
super(p_i45379_1_);
this.field_150614_aC = p_i45379_2_;
if (p_i45379_2_)
{
this.theBiomeDecorator.treesPerChunk = 2;
}
else
{
this.theBiomeDecorator.treesPerChunk = 50;
}
this.theBiomeDecorator.grassPerChunk = 25;
this.theBiomeDecorator.flowersPerChunk = 4;
if (!p_i45379_2_)
{
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityOcelot.class, 2, 1, 1));
}
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityChicken.class, 10, 4, 4));
}
项目:BaseClient
文件:BiomeGenJungle.java
public BiomeGenJungle(int p_i45379_1_, boolean p_i45379_2_)
{
super(p_i45379_1_);
this.field_150614_aC = p_i45379_2_;
if (p_i45379_2_)
{
this.theBiomeDecorator.treesPerChunk = 2;
}
else
{
this.theBiomeDecorator.treesPerChunk = 50;
}
this.theBiomeDecorator.grassPerChunk = 25;
this.theBiomeDecorator.flowersPerChunk = 4;
if (!p_i45379_2_)
{
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityOcelot.class, 2, 1, 1));
}
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityChicken.class, 10, 4, 4));
}
项目:connor41-etfuturum2
文件:ServerEventHandler.java
@SubscribeEvent
public void spawnEvent(EntityJoinWorldEvent event) {
if (event.entity instanceof EntityPig) {
EntityPig pig = (EntityPig) event.entity;
if (EtFuturum.enableBeetroot)
pig.tasks.addTask(4, new EntityAITempt(pig, 1.2, ModItems.beetroot, false));
} else if (event.entity instanceof EntityChicken) {
EntityChicken chicken = (EntityChicken) event.entity;
if (EtFuturum.enableBeetroot)
chicken.tasks.addTask(3, new EntityAITempt(chicken, 1.0D, ModItems.beetroot_seeds, false));
} else if (event.entity instanceof EntityWolf) {
EntityWolf wolf = (EntityWolf) event.entity;
if (EtFuturum.enableRabbit)
wolf.targetTasks.addTask(4, new EntityAITargetNonTamed(wolf, EntityRabbit.class, 200, false));
} else if (event.entity instanceof EntityVillager) {
EntityVillager villager = (EntityVillager) event.entity;
for (Object obj : villager.tasks.taskEntries) {
EntityAITaskEntry entry = (EntityAITaskEntry) obj;
if (entry.action instanceof EntityAIOpenDoor) {
villager.tasks.removeTask(entry.action);
villager.tasks.addTask(entry.priority, new EntityAIOpenCustomDoor(villager, true));
break;
}
}
}
}
项目:connor41-etfuturum2
文件:ServerEventHandler.java
@SubscribeEvent
public void interactEntityEvent(EntityInteractEvent event) {
ItemStack stack = event.entityPlayer.getCurrentEquippedItem();
if (stack == null)
return;
if (!(event.target instanceof EntityAnimal))
return;
EntityAnimal animal = (EntityAnimal) event.target;
if (!animal.isChild()) {
if (animal instanceof EntityPig) {
if (stack.getItem() == ModItems.beetroot && EtFuturum.enableBeetroot)
setAnimalInLove(animal, event.entityPlayer, stack);
} else if (animal instanceof EntityChicken)
if (stack.getItem() == ModItems.beetroot_seeds && EtFuturum.enableBeetroot)
setAnimalInLove(animal, event.entityPlayer, stack);
} else if (EtFuturum.enableBabyGrowthBoost && isFoodItem(animal, stack))
feedBaby(animal, event.entityPlayer, stack);
}
项目:modName
文件:BiomeTropicalShrubland.java
public BiomeTropicalShrubland() {
super(new Biome.BiomeProperties("Tropical Shrubland")
.setBaseHeight(0.105f)
.setHeightVariation(0.15f)
.setTemperature(1.1f)
.setRainfall(0.45f)
);
this.setRegistryName(Ref.MODID+":tropical_shrubland");
this.decorator.treesPerChunk = 5;
this.decorator.grassPerChunk = 10;
this.decorator.flowersPerChunk = 4;
this.spawnableCreatureList.add(new Biome.SpawnListEntry(EntityChicken.class, 5, 4, 4));
Ref.BIOMES.add(this);
}
项目:uniquecrops
文件:UCEventHandlerServer.java
@SubscribeEvent
public void maximumOvercluck(LivingEvent.LivingUpdateEvent event) {
if (!event.getEntityLiving().worldObj.isRemote && event.getEntityLiving() instanceof EntityChicken) {
EntityChicken chicken = (EntityChicken)event.getEntityLiving();
NBTTagCompound tag = chicken.getEntityData();
if (!chicken.isChild() && tag.hasKey(ItemGeneric.TAG_OVERCLUCK)) {
int timer = tag.getInteger(ItemGeneric.TAG_OVERCLUCK);
tag.setInteger(ItemGeneric.TAG_OVERCLUCK, --timer);
if (--timer <= 0)
{
chicken.playSound(SoundEvents.ENTITY_CHICKEN_EGG, 1.0F, (chicken.worldObj.rand.nextFloat() - chicken.worldObj.rand.nextFloat()) * 0.2F + 1.0F);
chicken.dropItem(Items.EGG, 1);
timer = chicken.worldObj.rand.nextInt(60) + 900;
tag.setInteger(ItemGeneric.TAG_OVERCLUCK, timer);
}
}
}
}
项目:Backmemed
文件:BiomeJungle.java
public BiomeJungle(boolean isEdgeIn, Biome.BiomeProperties properties)
{
super(properties);
this.isEdge = isEdgeIn;
if (isEdgeIn)
{
this.theBiomeDecorator.treesPerChunk = 2;
}
else
{
this.theBiomeDecorator.treesPerChunk = 50;
}
this.theBiomeDecorator.grassPerChunk = 25;
this.theBiomeDecorator.flowersPerChunk = 4;
if (!isEdgeIn)
{
this.spawnableMonsterList.add(new Biome.SpawnListEntry(EntityOcelot.class, 2, 1, 1));
}
this.spawnableCreatureList.add(new Biome.SpawnListEntry(EntityChicken.class, 10, 4, 4));
}
项目:CustomWorldGen
文件:BiomeJungle.java
public BiomeJungle(boolean isEdgeIn, Biome.BiomeProperties properties)
{
super(properties);
this.isEdge = isEdgeIn;
if (isEdgeIn)
{
this.theBiomeDecorator.treesPerChunk = 2;
}
else
{
this.theBiomeDecorator.treesPerChunk = 50;
}
this.theBiomeDecorator.grassPerChunk = 25;
this.theBiomeDecorator.flowersPerChunk = 4;
if (!isEdgeIn)
{
this.spawnableMonsterList.add(new Biome.SpawnListEntry(EntityOcelot.class, 2, 1, 1));
}
this.spawnableCreatureList.add(new Biome.SpawnListEntry(EntityChicken.class, 10, 4, 4));
}
项目:Gravestone-mod-Extended
文件:EntityZombieCat.java
public EntityZombieCat(World world, boolean isHusk) {
super(world);
this.setMobType(isHusk ? EnumUndeadMobType.HUSK : EnumUndeadMobType.ZOMBIE);
((PathNavigateGround) this.getNavigator()).setCanSwim(true);
this.tasks.addTask(1, new EntityAISwimming(this));
this.tasks.addTask(2, new EntityAIAttackMelee(this, 1, false));
this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1));
this.tasks.addTask(6, new EntityAIWander(this, 1));
this.tasks.addTask(5, new EntityAIMoveThroughVillage(this, 1, false));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityVillager.class, false));
if (ExtendedConfig.zombiePetsAttackPets) {
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityWolf.class, false));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityOcelot.class, false));
}
if (ExtendedConfig.zombiePetsAttackAnimals) {
this.targetTasks.addTask(4, new EntityAINearestAttackableTarget(this, EntityChicken.class, false));
}
this.targetTasks.addTask(4, new EntityAINearestAttackableHorse(this, false));
}
项目:MC-Prefab
文件:StructureChickenCoop.java
/**
* This method is used after the main building is build for any additional
* structures or modifications.
*
* @param configuration The structure configuration.
* @param world The current world.
* @param originalPos The original position clicked on.
* @param assumedNorth The assumed northern direction.
* @param player The player which initiated the construction.
*/
@Override
public void AfterBuilding(StructureConfiguration configuration, World world, BlockPos originalPos, EnumFacing assumedNorth, EntityPlayer player)
{
if (this.chickenCoopBlockPos != null)
{
// For the chicken coop, spawn 1 chicken above a hay bale.
for (int i = 0; i < 1; i++)
{
EntityChicken entity = new EntityChicken(world);
entity.setPosition(this.chickenCoopBlockPos.getX(), this.chickenCoopBlockPos.getY(), this.chickenCoopBlockPos.getZ());
world.spawnEntity(entity);
}
this.chickenCoopBlockPos = null;
}
}
项目:PopularMMOS-EpicProportions-Mod
文件:EntityKitty.java
public EntityKitty(World p_i1688_1_)
{
super(p_i1688_1_);
this.setSize(0.6F, 0.8F);
this.getNavigator().setAvoidsWater(true);
this.tasks.addTask(1, new EntityAISwimming(this));
this.tasks.addTask(2, this.aiSit);
this.tasks.addTask(3, this.aiTempt = new EntityAITempt(this, 0.6D, Items.fish, true));
//this.tasks.addTask(4, new EntityAIAvoidEntity(this, EntityPlayer.class, 16.0F, 0.8D, 1.33D));
this.tasks.addTask(5, new EntityAIFollowOwner(this, 1.0D, 10.0F, 5.0F));
this.tasks.addTask(6, new EntityAIKittySit(this, 1.33D));
this.tasks.addTask(7, new EntityAILeapAtTarget(this, 0.3F));
this.tasks.addTask(8, new EntityAIOcelotAttack(this));
this.tasks.addTask(9, new EntityAIMate(this, 0.8D));
this.tasks.addTask(10, new EntityAIWander(this, 0.8D));
this.tasks.addTask(11, new EntityAIWatchClosest(this, EntityPlayer.class, 10.0F));
this.targetTasks.addTask(1, new EntityAITargetNonTamed(this, EntityChicken.class, 750, false));
this.hasCustomNameTag();
this.setCustomNameTag("Kitty");
}
项目:ThermalRecycling
文件:Material.java
@Override
public boolean itemInteractionForEntity(ItemStack stack, EntityPlayer player, EntityLivingBase target) {
if (target.worldObj.isRemote || ItemStackHelper.getItemDamage(stack) != WORMS)
return false;
if (target instanceof EntityChicken) {
// If the chicken is a child, make it an adult. If it is
// an adult, accelerate egg laying.
final EntityChicken chicken = (EntityChicken) target;
if (chicken.isChild()) {
chicken.setGrowingAge(-1);
} else {
chicken.timeUntilNextEgg -= random.nextInt(EGG_ACCELERATION) + EGG_ACCELERATION;
}
stack.stackSize--;
return true;
}
return false;
}
项目:Et-Futurum
文件:ServerEventHandler.java
@SubscribeEvent
public void spawnEvent(EntityJoinWorldEvent event) {
if (event.entity instanceof EntityPig) {
EntityPig pig = (EntityPig) event.entity;
if (EtFuturum.enableBeetroot)
pig.tasks.addTask(4, new EntityAITempt(pig, 1.2, ModItems.beetroot, false));
} else if (event.entity instanceof EntityChicken) {
EntityChicken chicken = (EntityChicken) event.entity;
if (EtFuturum.enableBeetroot)
chicken.tasks.addTask(3, new EntityAITempt(chicken, 1.0D, ModItems.beetroot_seeds, false));
} else if (event.entity instanceof EntityWolf) {
EntityWolf wolf = (EntityWolf) event.entity;
if (EtFuturum.enableRabbit)
wolf.targetTasks.addTask(4, new EntityAITargetNonTamed(wolf, EntityRabbit.class, 200, false));
} else if (event.entity instanceof EntityVillager) {
EntityVillager villager = (EntityVillager) event.entity;
for (Object obj : villager.tasks.taskEntries) {
EntityAITaskEntry entry = (EntityAITaskEntry) obj;
if (entry.action instanceof EntityAIOpenDoor) {
villager.tasks.removeTask(entry.action);
villager.tasks.addTask(entry.priority, new EntityAIOpenCustomDoor(villager, true));
break;
}
}
}
}
项目:Et-Futurum
文件:ServerEventHandler.java
@SubscribeEvent
public void interactEntityEvent(EntityInteractEvent event) {
ItemStack stack = event.entityPlayer.getCurrentEquippedItem();
if (stack == null)
return;
if (!(event.target instanceof EntityAnimal))
return;
EntityAnimal animal = (EntityAnimal) event.target;
if (!animal.isChild()) {
if (animal instanceof EntityPig) {
if (stack.getItem() == ModItems.beetroot && EtFuturum.enableBeetroot)
setAnimalInLove(animal, event.entityPlayer, stack);
} else if (animal instanceof EntityChicken)
if (stack.getItem() == ModItems.beetroot_seeds && EtFuturum.enableBeetroot)
setAnimalInLove(animal, event.entityPlayer, stack);
} else if (EtFuturum.enableBabyGrowthBoost && isFoodItem(animal, stack))
feedBaby(animal, event.entityPlayer, stack);
}
项目:It-s-About-Time-Minecraft-Mod
文件:EntityVelociraptor.java
public EntityVelociraptor(World world)
{
super(world);
this.setSize(1F, 0.6F);
isCarnivore = true;
minSize = 0.2F;
maxSize = 1.4F;
adultAge = 10;
maxAge = 16;
this.tasks.addTask(8, new EntityAITempt(this, 1.2D, Items.chicken, false));
this.tasks.addTask(10, new MobAIWatchClosestWhenAwake(this, EntityPlayer.class, 8.0F));
this.targetTasks.addTask(4, new EntityAITargetNonTamed(this, EntityChicken.class, 200, false));
this.targetTasks.addTask(4, new EntityAITargetNonTamed(this, EntityCow.class, 200, false));
this.targetTasks.addTask(4, new EntityAITargetNonTamed(this, EntitySheep.class, 200, false));
this.targetTasks.addTask(4, new EntityAITargetNonTamed(this, EntityCompsognathus.class, 200, false));
this.targetTasks.addTask(4, new EntityAITargetNonTamed(this, EntityPig.class, 200, false));
this.setTamed(false);
}
项目:Resilience-Client-Source
文件:BiomeGenJungle.java
public BiomeGenJungle(int p_i45379_1_, boolean p_i45379_2_)
{
super(p_i45379_1_);
this.field_150614_aC = p_i45379_2_;
if (p_i45379_2_)
{
this.theBiomeDecorator.treesPerChunk = 2;
}
else
{
this.theBiomeDecorator.treesPerChunk = 50;
}
this.theBiomeDecorator.grassPerChunk = 25;
this.theBiomeDecorator.flowersPerChunk = 4;
if (!p_i45379_2_)
{
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityOcelot.class, 2, 1, 1));
}
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityChicken.class, 10, 4, 4));
}
项目:CreepTech
文件:TileEntityIncubator.java
@Override
public void updateEntity(){
if(PowerStored > 0 && slot != null && slot.getItem().equals(Items.egg)) {
Tick++;
if(Tick % 10 == 0){
PowerStored--;
}
}
System.out.println("Tick: " + Integer.toString(Tick));
System.out.println("ChickTick: " + Integer.toString(ChickenTick));
if(slot != null && slot.getItem().equals(Items.egg) && Tick == ChickenTick + 48000){
ChickenTick = 0;
EntityChicken entityChicken = new EntityChicken(this.worldObj);
entityChicken.setLocationAndAngles(pos.getX() + .5, pos.getY() + 1, pos.getZ() + .5, 0.0F, 0.0F);
entityChicken.setGrowingAge(-24000);
this.worldObj.spawnEntityInWorld(entityChicken);
}
}
项目:Magicians-Artifice
文件:RitualFlight.java
@SuppressWarnings("unchecked")
@Override
public void uncontainedEffect(int x, int y, int z, World world, EntityPlayer player) {
super.uncontainedEffect(x, y, z, world, player);
Vec3 cornerstone = Vec3.createVectorHelper(x,y,z);
List<Entity> playerMPs = world.loadedEntityList;
for (int i = 0; i < playerMPs.size();i++) {
Entity entity = playerMPs.get(i);
if (entity instanceof EntityLivingBase) {
if (!(entity instanceof EntityPlayer) && !(entity instanceof EntityBat) && !(entity instanceof EntityChicken)) {
Vec3 location = Vec3.createVectorHelper(entity.posX,entity.posY,entity.posZ);
if (location.distanceTo(cornerstone) < 100) {
entity.motionY += 3.0F;
}
}
}
}
}
项目:ZeroQuest
文件:BiomeGenRedSeed.java
public BiomeGenRedSeed(int id) {
super(id);
this.waterColorMultiplier = 0x003333;
this.theBiomeDecorator.treesPerChunk = -999;
this.theBiomeDecorator.flowersPerChunk = 4;
this.theBiomeDecorator.grassPerChunk = 10;
this.flowers.clear();
this.addFlower(Blocks.red_flower, 4, 3);
this.addFlower(Blocks.red_flower, 5, 3);
this.addFlower(Blocks.red_flower, 6, 3);
this.addFlower(Blocks.red_flower, 7, 3);
this.addFlower(ModBlocks.nileBlackFlower, 0, 20);
this.addFlower(ModBlocks.nileBlackFlower, 3, 20);
this.addFlower(ModBlocks.nileBlackFlower, 8, 20);
this.addFlower(ModBlocks.nileBlackFlower, 0, 30);
this.spawnableMonsterList.clear();
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityHorse.class, 5, 2, 6));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityRedZertum.class, 100, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityChicken.class, 5, 1, 5));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityCow.class, 5, 1, 5));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityPig.class, 5, 1, 5));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySpider.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityZombie.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySkeleton.class, 100, 4, 4));
}
项目:ZeroQuest
文件:BiomeGenBioZone.java
public BiomeGenBioZone(int id) {
super(id);
this.theBiomeDecorator.generateLakes = true;
this.theBiomeDecorator.treesPerChunk = 4;
this.spawnableMonsterList.clear();
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySpider.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityZombie.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySkeleton.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityCreeper.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySlime.class, 100, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityZertum.class, 100, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityBat.class, 5, 1, 5));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityChicken.class, 5, 1, 5));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityCow.class, 5, 1, 5));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityPig.class, 5, 1, 5));
}
项目:ZeroQuest
文件:BiomeGenBlueNile.java
public BiomeGenBlueNile(int id) {
super(id);
//topBlock = (byte)ModBlocks.nileGrass.blockID;
//fillerBlock = (byte)ModBlocks.nileDirt.blockID;
this.waterColorMultiplier = 0x003333;
this.theBiomeDecorator.treesPerChunk = 9;
this.theBiomeDecorator.grassPerChunk = 3;
this.theBiomeDecorator.flowersPerChunk = 2;
this.theBiomeDecorator.generateLakes = true;
this.spawnableMonsterList.clear();
this.spawnableCreatureList.add(new SpawnListEntry(EntityZertum.class, 100, 4, 4));
this.spawnableCreatureList.add(new SpawnListEntry(EntityBat.class, 5, 1, 5));
this.spawnableCreatureList.add(new SpawnListEntry(EntityChicken.class, 5, 1, 5));
this.spawnableCreatureList.add(new SpawnListEntry(EntityCow.class, 5, 1, 5));
this.spawnableCreatureList.add(new SpawnListEntry(EntityPig.class, 5, 1, 5));
}
项目:ZeroQuest
文件:BiomeGenDarkLand.java
public BiomeGenDarkLand(int id) {
super(id);
//topBlock = (byte)ModBlocks.nileGrass.blockID;
//fillerBlock = (byte)ModBlocks.nileDirt.blockID;
this.waterColorMultiplier = 0x666600;
this.theBiomeDecorator.treesPerChunk = 1;
this.theBiomeDecorator.grassPerChunk = 1;
this.theBiomeDecorator.flowersPerChunk = -999;
this.theBiomeDecorator.generateLakes = true;
this.spawnableMonsterList.clear();
this.spawnableCreatureList.add(new SpawnListEntry(EntityDarkZertum.class, 100, 4, 4));
this.spawnableCreatureList.add(new SpawnListEntry(EntityBat.class, 5, 1, 5));
this.spawnableCreatureList.add(new SpawnListEntry(EntityChicken.class, 5, 1, 5));
this.spawnableCreatureList.add(new SpawnListEntry(EntityCow.class, 5, 1, 5));
this.spawnableCreatureList.add(new SpawnListEntry(EntityPig.class, 5, 1, 5));
}
项目:ZeroQuest
文件:BiomeGenRedSeed.java
public BiomeGenRedSeed(int id) {
super(id);
this.waterColorMultiplier = 0x003333;
this.theBiomeDecorator.treesPerChunk = -999;
this.theBiomeDecorator.flowersPerChunk = 4;
this.theBiomeDecorator.grassPerChunk = 10;
this.flowers.clear();
this.addFlower(Blocks.red_flower.getDefaultState(), 4);
this.addFlower(ModBlocks.nileBlackFlower.getDefaultState(), 90);
this.spawnableMonsterList.clear();
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityHorse.class, 5, 2, 6));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityChicken.class, 5, 1, 5));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityCow.class, 5, 1, 5));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityPig.class, 5, 1, 5));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySpider.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityZombie.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySkeleton.class, 100, 4, 4));
}
项目:ZeroQuest
文件:BiomeGenBioZone.java
public BiomeGenBioZone(int id) {
super(id);
this.theBiomeDecorator.generateLakes = true;
this.theBiomeDecorator.treesPerChunk = 4;
this.spawnableMonsterList.clear();
this.addFlower(ModBlocks.nileBlueFlower.getDefaultState(), 90);
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySpider.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityZombie.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySkeleton.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityCreeper.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySlime.class, 100, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityBat.class, 5, 1, 5));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityChicken.class, 5, 1, 5));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityCow.class, 5, 1, 5));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityPig.class, 5, 1, 5));
}
项目:reptiles
文件:EntityMegalania.java
public EntityMegalania(World world) {
super(world);
float scaleFactor = 2.5f;
setSize(1.0F * scaleFactor, 0.6F * scaleFactor);
setPathPriority(PathNodeType.WATER, 0.0f);
setHealth(60.0f);
tasks.addTask(0, new EntityAISwimming(this));
tasks.addTask(1, new EntityAILeapAtTarget(this, 0.4F));
tasks.addTask(2, new EntityAIAttackMelee(this, 1.0D, true));
tasks.addTask(3, new EntityAIWander(this, 0.9));
tasks.addTask(4, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
tasks.addTask(5, new EntityAILookIdle(this));
targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));
targetTasks.addTask(2, new EntityAINearestAttackableTarget<>(this, EntityChicken.class, true));
targetTasks.addTask(3, new EntityAINearestAttackableTarget<>(this, EntityPig.class, true));
targetTasks.addTask(4, new EntityAINearestAttackableTarget<>(this, EntityPlayer.class, true));
targetTasks.addTask(5, new EntityAINearestAttackableTarget<>(this, EntitySheep.class, true));
targetTasks.addTask(6, new EntityAINearestAttackableTarget<>(this, EntityCow.class, true));
targetTasks.addTask(7, new EntityAINearestAttackableTarget<>(this, EntitySkeleton.class, true));
targetTasks.addTask(8, new EntityAINearestAttackableTarget<>(this, EntityRabbit.class, true));
}
项目:NausicaaMod
文件:EntityFoxSquirrel.java
public EntityFoxSquirrel(World par1World)
{
super(par1World);
this.setSize(0.6F, 0.8F);
this.getNavigator().setAvoidsWater(true);
this.tasks.addTask(1, new EntityAISwimming(this));
this.tasks.addTask(2, this.aiSit);
this.tasks.addTask(3, this.aiTempt = new EntityAITempt(this, 0.6D, Items.fish, true));
this.tasks.addTask(4, new EntityAIAvoidEntity(this, EntityPlayer.class, 16.0F, 0.8D, 1.33D));
this.tasks.addTask(5, new EntityAIFollowOwner(this, 1.0D, 10.0F, 5.0F));
this.tasks.addTask(6, new EntityAIOcelotSit(this, 1.33D));
this.tasks.addTask(7, new EntityAILeapAtTarget(this, 0.3F));
this.tasks.addTask(8, new EntityAIOcelotAttack(this));
this.tasks.addTask(9, new EntityAIMate(this, 0.8D));
this.tasks.addTask(10, new EntityAIWander(this, 0.8D));
this.tasks.addTask(11, new EntityAIWatchClosest(this, EntityPlayer.class, 10.0F));
this.targetTasks.addTask(1, new EntityAITargetNonTamed(this, EntityChicken.class, 750, false));
}
项目:Cauldron
文件:BiomeGenJungle.java
public BiomeGenJungle(int p_i45379_1_, boolean p_i45379_2_)
{
super(p_i45379_1_);
this.field_150614_aC = p_i45379_2_;
if (p_i45379_2_)
{
this.theBiomeDecorator.treesPerChunk = 2;
}
else
{
this.theBiomeDecorator.treesPerChunk = 50;
}
this.theBiomeDecorator.grassPerChunk = 25;
this.theBiomeDecorator.flowersPerChunk = 4;
if (!p_i45379_2_)
{
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityOcelot.class, 2, 1, 1));
}
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityChicken.class, 10, 4, 4));
}
项目:Cauldron
文件:BiomeGenJungle.java
public BiomeGenJungle(int p_i45379_1_, boolean p_i45379_2_)
{
super(p_i45379_1_);
this.field_150614_aC = p_i45379_2_;
if (p_i45379_2_)
{
this.theBiomeDecorator.treesPerChunk = 2;
}
else
{
this.theBiomeDecorator.treesPerChunk = 50;
}
this.theBiomeDecorator.grassPerChunk = 25;
this.theBiomeDecorator.flowersPerChunk = 4;
if (!p_i45379_2_)
{
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityOcelot.class, 2, 1, 1));
}
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityChicken.class, 10, 4, 4));
}
项目:RuneCraftery
文件:EntityOcelot.java
public EntityOcelot(World p_i1688_1_) {
super(p_i1688_1_);
this.func_70105_a(0.6F, 0.8F);
this.func_70661_as().func_75491_a(true);
this.field_70714_bg.func_75776_a(1, new EntityAISwimming(this));
this.field_70714_bg.func_75776_a(2, this.field_70911_d);
this.field_70714_bg.func_75776_a(3, this.field_70914_e = new EntityAITempt(this, 0.6D, Item.field_77754_aU.field_77779_bT, true));
this.field_70714_bg.func_75776_a(4, new EntityAIAvoidEntity(this, EntityPlayer.class, 16.0F, 0.8D, 1.33D));
this.field_70714_bg.func_75776_a(5, new EntityAIFollowOwner(this, 1.0D, 10.0F, 5.0F));
this.field_70714_bg.func_75776_a(6, new EntityAIOcelotSit(this, 1.33D));
this.field_70714_bg.func_75776_a(7, new EntityAILeapAtTarget(this, 0.3F));
this.field_70714_bg.func_75776_a(8, new EntityAIOcelotAttack(this));
this.field_70714_bg.func_75776_a(9, new EntityAIMate(this, 0.8D));
this.field_70714_bg.func_75776_a(10, new EntityAIWander(this, 0.8D));
this.field_70714_bg.func_75776_a(11, new EntityAIWatchClosest(this, EntityPlayer.class, 10.0F));
this.field_70715_bh.func_75776_a(1, new EntityAITargetNonTamed(this, EntityChicken.class, 750, false));
}
项目:DecompiledMinecraft
文件:BiomeGenBase.java
protected BiomeGenBase(int id)
{
this.minHeight = height_Default.rootHeight;
this.maxHeight = height_Default.variation;
this.temperature = 0.5F;
this.rainfall = 0.5F;
this.waterColorMultiplier = 16777215;
this.spawnableMonsterList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.spawnableCreatureList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.spawnableWaterCreatureList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.spawnableCaveCreatureList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.enableRain = true;
this.worldGeneratorTrees = new WorldGenTrees(false);
this.worldGeneratorBigTree = new WorldGenBigTree(false);
this.worldGeneratorSwamp = new WorldGenSwamp();
this.biomeID = id;
biomeList[id] = this;
this.theBiomeDecorator = this.createBiomeDecorator();
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntitySheep.class, 12, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityRabbit.class, 10, 3, 3));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityPig.class, 10, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityChicken.class, 10, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityCow.class, 8, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySpider.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityZombie.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySkeleton.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityCreeper.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySlime.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityEnderman.class, 10, 1, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityWitch.class, 5, 1, 1));
this.spawnableWaterCreatureList.add(new BiomeGenBase.SpawnListEntry(EntitySquid.class, 10, 4, 4));
this.spawnableCaveCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityBat.class, 10, 8, 8));
}
项目:DecompiledMinecraft
文件:EntityEgg.java
/**
* Called when this EntityThrowable hits a block or entity.
*/
protected void onImpact(MovingObjectPosition p_70184_1_)
{
if (p_70184_1_.entityHit != null)
{
p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), 0.0F);
}
if (!this.worldObj.isRemote && this.rand.nextInt(8) == 0)
{
int i = 1;
if (this.rand.nextInt(32) == 0)
{
i = 4;
}
for (int j = 0; j < i; ++j)
{
EntityChicken entitychicken = new EntityChicken(this.worldObj);
entitychicken.setGrowingAge(-24000);
entitychicken.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, 0.0F);
this.worldObj.spawnEntityInWorld(entitychicken);
}
}
double d0 = 0.08D;
for (int k = 0; k < 8; ++k)
{
this.worldObj.spawnParticle(EnumParticleTypes.ITEM_CRACK, this.posX, this.posY, this.posZ, ((double)this.rand.nextFloat() - 0.5D) * 0.08D, ((double)this.rand.nextFloat() - 0.5D) * 0.08D, ((double)this.rand.nextFloat() - 0.5D) * 0.08D, new int[] {Item.getIdFromItem(Items.egg)});
}
if (!this.worldObj.isRemote)
{
this.setDead();
}
}
项目:DecompiledMinecraft
文件:BiomeGenBase.java
protected BiomeGenBase(int id)
{
this.minHeight = height_Default.rootHeight;
this.maxHeight = height_Default.variation;
this.temperature = 0.5F;
this.rainfall = 0.5F;
this.waterColorMultiplier = 16777215;
this.spawnableMonsterList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.spawnableCreatureList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.spawnableWaterCreatureList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.spawnableCaveCreatureList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.enableRain = true;
this.worldGeneratorTrees = new WorldGenTrees(false);
this.worldGeneratorBigTree = new WorldGenBigTree(false);
this.worldGeneratorSwamp = new WorldGenSwamp();
this.biomeID = id;
biomeList[id] = this;
this.theBiomeDecorator = this.createBiomeDecorator();
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntitySheep.class, 12, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityRabbit.class, 10, 3, 3));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityPig.class, 10, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityChicken.class, 10, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityCow.class, 8, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySpider.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityZombie.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySkeleton.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityCreeper.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySlime.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityEnderman.class, 10, 1, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityWitch.class, 5, 1, 1));
this.spawnableWaterCreatureList.add(new BiomeGenBase.SpawnListEntry(EntitySquid.class, 10, 4, 4));
this.spawnableCaveCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityBat.class, 10, 8, 8));
}
项目:DecompiledMinecraft
文件:EntityEgg.java
/**
* Called when this EntityThrowable hits a block or entity.
*/
protected void onImpact(MovingObjectPosition p_70184_1_)
{
if (p_70184_1_.entityHit != null)
{
p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), 0.0F);
}
if (!this.worldObj.isRemote && this.rand.nextInt(8) == 0)
{
int i = 1;
if (this.rand.nextInt(32) == 0)
{
i = 4;
}
for (int j = 0; j < i; ++j)
{
EntityChicken entitychicken = new EntityChicken(this.worldObj);
entitychicken.setGrowingAge(-24000);
entitychicken.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, 0.0F);
this.worldObj.spawnEntityInWorld(entitychicken);
}
}
double d0 = 0.08D;
for (int k = 0; k < 8; ++k)
{
this.worldObj.spawnParticle(EnumParticleTypes.ITEM_CRACK, this.posX, this.posY, this.posZ, ((double)this.rand.nextFloat() - 0.5D) * 0.08D, ((double)this.rand.nextFloat() - 0.5D) * 0.08D, ((double)this.rand.nextFloat() - 0.5D) * 0.08D, new int[] {Item.getIdFromItem(Items.egg)});
}
if (!this.worldObj.isRemote)
{
this.setDead();
}
}
项目:DecompiledMinecraft
文件:RenderChicken.java
/**
* Defines what float the third param in setRotationAngles of ModelBase is
*/
protected float handleRotationFloat(EntityChicken livingBase, float partialTicks)
{
float f = livingBase.field_70888_h + (livingBase.wingRotation - livingBase.field_70888_h) * partialTicks;
float f1 = livingBase.field_70884_g + (livingBase.destPos - livingBase.field_70884_g) * partialTicks;
return (MathHelper.sin(f) + 1.0F) * f1;
}
项目:BaseClient
文件:BiomeGenBase.java
protected BiomeGenBase(int id)
{
this.minHeight = height_Default.rootHeight;
this.maxHeight = height_Default.variation;
this.temperature = 0.5F;
this.rainfall = 0.5F;
this.waterColorMultiplier = 16777215;
this.spawnableMonsterList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.spawnableCreatureList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.spawnableWaterCreatureList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.spawnableCaveCreatureList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.enableRain = true;
this.worldGeneratorTrees = new WorldGenTrees(false);
this.worldGeneratorBigTree = new WorldGenBigTree(false);
this.worldGeneratorSwamp = new WorldGenSwamp();
this.biomeID = id;
biomeList[id] = this;
this.theBiomeDecorator = this.createBiomeDecorator();
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntitySheep.class, 12, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityRabbit.class, 10, 3, 3));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityPig.class, 10, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityChicken.class, 10, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityCow.class, 8, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySpider.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityZombie.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySkeleton.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityCreeper.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySlime.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityEnderman.class, 10, 1, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityWitch.class, 5, 1, 1));
this.spawnableWaterCreatureList.add(new BiomeGenBase.SpawnListEntry(EntitySquid.class, 10, 4, 4));
this.spawnableCaveCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityBat.class, 10, 8, 8));
}
项目:BaseClient
文件:EntityEgg.java
/**
* Called when this EntityThrowable hits a block or entity.
*/
protected void onImpact(MovingObjectPosition p_70184_1_)
{
if (p_70184_1_.entityHit != null)
{
p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), 0.0F);
}
if (!this.worldObj.isRemote && this.rand.nextInt(8) == 0)
{
int i = 1;
if (this.rand.nextInt(32) == 0)
{
i = 4;
}
for (int j = 0; j < i; ++j)
{
EntityChicken entitychicken = new EntityChicken(this.worldObj);
entitychicken.setGrowingAge(-24000);
entitychicken.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, 0.0F);
this.worldObj.spawnEntityInWorld(entitychicken);
}
}
double d0 = 0.08D;
for (int k = 0; k < 8; ++k)
{
this.worldObj.spawnParticle(EnumParticleTypes.ITEM_CRACK, this.posX, this.posY, this.posZ, ((double)this.rand.nextFloat() - 0.5D) * 0.08D, ((double)this.rand.nextFloat() - 0.5D) * 0.08D, ((double)this.rand.nextFloat() - 0.5D) * 0.08D, new int[] {Item.getIdFromItem(Items.egg)});
}
if (!this.worldObj.isRemote)
{
this.setDead();
}
}
项目:BaseClient
文件:RenderChicken.java
/**
* Defines what float the third param in setRotationAngles of ModelBase is
*/
protected float handleRotationFloat(EntityChicken livingBase, float partialTicks)
{
float f = livingBase.field_70888_h + (livingBase.wingRotation - livingBase.field_70888_h) * partialTicks;
float f1 = livingBase.field_70884_g + (livingBase.destPos - livingBase.field_70884_g) * partialTicks;
return (MathHelper.sin(f) + 1.0F) * f1;
}
项目:BaseClient
文件:BiomeGenBase.java
protected BiomeGenBase(int id)
{
this.minHeight = height_Default.rootHeight;
this.maxHeight = height_Default.variation;
this.temperature = 0.5F;
this.rainfall = 0.5F;
this.waterColorMultiplier = 16777215;
this.spawnableMonsterList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.spawnableCreatureList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.spawnableWaterCreatureList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.spawnableCaveCreatureList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.enableRain = true;
this.worldGeneratorTrees = new WorldGenTrees(false);
this.worldGeneratorBigTree = new WorldGenBigTree(false);
this.worldGeneratorSwamp = new WorldGenSwamp();
this.biomeID = id;
biomeList[id] = this;
this.theBiomeDecorator = this.createBiomeDecorator();
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntitySheep.class, 12, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityRabbit.class, 10, 3, 3));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityPig.class, 10, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityChicken.class, 10, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityCow.class, 8, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySpider.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityZombie.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySkeleton.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityCreeper.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySlime.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityEnderman.class, 10, 1, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityWitch.class, 5, 1, 1));
this.spawnableWaterCreatureList.add(new BiomeGenBase.SpawnListEntry(EntitySquid.class, 10, 4, 4));
this.spawnableCaveCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityBat.class, 10, 8, 8));
}