Java 类net.minecraft.world.biome.SpawnListEntry 实例源码

项目:Runes-And-Silver    文件:SnowBiome.java   
public SnowBiome(int par1){
    super(par1);
    this.topBlock = (byte) Block.blockSnow.blockID;
    this.fillerBlock = (byte) Block.blockSnow.blockID;

    this.setMinMaxHeight(0.3F, 0.6F);

    this.spawnableCreatureList.add(new SpawnListEntry(EntitySnowman.class, 25, 2, 6));
    this.spawnableCreatureList.clear();
    this.spawnableMonsterList.clear();
    this.spawnableMonsterList.add(new SpawnListEntry(EntityEskimoZombie.class, 15, 4, 4));
    this.spawnableMonsterList.add(new SpawnListEntry(EntityEskimoSkeleton.class, 15, 4, 4));
    this.spawnableMonsterList.add(new SpawnListEntry(EntityYeti.class, 10, 1, 1));


    this.theBiomeDecorator.treesPerChunk = 10;
    this.theBiomeDecorator.grassPerChunk = 4;

}
项目:Runes-And-Silver    文件:RuneBiome.java   
public RuneBiome(int par1)
  {

      super(par1);
      this.topBlock = (byte) Block.grass.blockID;
this.fillerBlock = (byte) Block.dirt.blockID;

this.setMinMaxHeight(0.1F, 1.1F);
this.spawnableCreatureList.add(new SpawnListEntry(EntityForestWalker.class, 5, 1, 1));

this.theBiomeDecorator.treesPerChunk = 10;
this.theBiomeDecorator.flowersPerChunk = 6;
this.theBiomeDecorator.grassPerChunk = 2;
this.theBiomeDecorator.bigMushroomsPerChunk = 1;
this.theBiomeDecorator.mushroomsPerChunk = 2;
      this.spawnableMonsterList.clear();
      this.spawnableCreatureList.clear();
      this.spawnableWaterCreatureList.clear();
      this.spawnableCaveCreatureList.clear();

  }
项目: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)); 
}
项目:FantasyCraft-Mod    文件:BiomeCactusIsland.java   
public BiomeCactusIsland(int id) {
    super(id);
    this.setBiomeName(Strings.NAMES_BIOME_CACTUS);
    this.setMinMaxHeight(0.2F, 0.5F);
    this.topBlock = (byte)Block.sand.blockID;
    this.fillerBlock = (byte)Block.sand.blockID;
    this.setTemperatureRainfall(2.0F, 0.0F);
    this.spawnableMonsterList.clear();
    this.spawnableCaveCreatureList.clear();
    this.spawnableCreatureList.clear();
    //this.spawnableCreatureList.add(new SpawnListEntry(EntityTomato.class, 100, 15, 15));
    this.spawnableCreatureList.add(new SpawnListEntry(EntityCactoid.class, 10, 2, 3));

    theBiomeDecorator = new FCraftBiomeDeco(this);
    customBiomeDecorator = (FCraftBiomeDeco)theBiomeDecorator;
    customBiomeDecorator.desertLiliesPerChunk = 3;
    customBiomeDecorator.treesPerChunk = -999;
}
项目:FantasyCraft-Mod    文件:BiomeEvilForest.java   
public BiomeEvilForest(int id) {
    super(id);
    this.setBiomeName(Strings.NAMES_BIOME_EVILFOREST);
    this.setMinMaxHeight(0.2F, 0.5F);
    this.topBlock = (byte)(byte)FCraftBlocks.petrifiedGrass.blockID;
    this.fillerBlock = (byte)FCraftBlocks.petrifiedDirt.blockID;
    this.setTemperatureRainfall(0.2F, 1.2F);

    this.spawnableCreatureList.add(new SpawnListEntry(EntityTomato.class, 10, 2, 3));
    this.spawnableCreatureList.add(new SpawnListEntry(EntityAlphaWolf.class, 10, 2, 3));
    //this.spawnableCreatureList.add(new SpawnListEntry(EntityCactoid.class, 100, 15, 15));     

    theBiomeDecorator = new FCraftBiomeDeco(this);
    customBiomeDecorator = (FCraftBiomeDeco) theBiomeDecorator;
    customBiomeDecorator.treesPerChunk = 10;
    customBiomeDecorator.heartillyPerChunk = 3;
    customBiomeDecorator.fcraftTreesPerChunk = 10;
}
项目:FantasyCraft-Mod    文件:BiomeSandsea.java   
public BiomeSandsea(int id) {
    super(id);
    this.setBiomeName(Strings.NAMES_BIOME_SANDSEA);
    this.setMinMaxHeight(-0.1F, -0.1F);

    this.topBlock = (byte)FCraftBlocks.blockSandseaFluid.blockID;
    this.fillerBlock = (byte)FCraftBlocks.blockSandseaFluid.blockID;
    this.setTemperatureRainfall(2F, 0F);
    this.spawnableMonsterList.clear();
    this.spawnableCaveCreatureList.clear();
    this.spawnableCreatureList.clear();

    //this.spawnableCreatureList.add(new SpawnListEntry(EntityTomato.class, 10, 15, 15));
    this.spawnableCreatureList.add(new SpawnListEntry(EntityCactoid.class, 10, 2, 3));
    this.spawnableCreatureList.add(new SpawnListEntry(EntityAlphaWolf.class, 10, 2, 3));

    theBiomeDecorator = new FCraftBiomeDeco(this);
    customBiomeDecorator = (FCraftBiomeDeco)theBiomeDecorator;
    customBiomeDecorator.brahnePerChunk = 3;
    customBiomeDecorator.treesPerChunk = -999;
}
项目:FantasyCraft-Mod    文件:BiomeCalmLands.java   
public BiomeCalmLands(int id) {
    super(id);
    this.setBiomeName(Strings.NAMES_BIOME_CALMLANDS);
    this.setMinMaxHeight(0.2F, 0.5F);
    this.topBlock = (byte)Block.grass.blockID;
    this.fillerBlock = (byte)Block.dirt.blockID;
    this.setTemperatureRainfall(2.0F, 0.2F);

    this.spawnableCreatureList.add(new SpawnListEntry(EntityTomato.class, 10, 2, 3));
    //this.spawnableCreatureList.add(new SpawnListEntry(EntityCactoid.class, 100, 15, 15));

    theBiomeDecorator = new FCraftBiomeDeco(this);
    customBiomeDecorator = (FCraftBiomeDeco)theBiomeDecorator;

    customBiomeDecorator.aerithPerChunk = 3;
    customBiomeDecorator.brahnePerChunk = 3;
    customBiomeDecorator.celesPerChunk = 3;
    customBiomeDecorator.freyaPerChunk = 3;
    customBiomeDecorator.heartillyPerChunk = 3;
    customBiomeDecorator.loirePerChunk = 3;
    customBiomeDecorator.oveliaPerChunk = 3;
    customBiomeDecorator.yunaPerChunk = 3;  
    customBiomeDecorator.treesPerChunk = -999;

}
项目:FantasyCraft-Mod    文件:BiomeThunderPlains.java   
public BiomeThunderPlains(int id) {
    super(id);
    this.setBiomeName(Strings.NAMES_BIOME_THUNDERPLAINS);
    this.setMinMaxHeight(0.2F, 0.3F);
    this.topBlock = (byte)FCraftBlocks.thunderPlainsDirt.blockID;
    this.fillerBlock = (byte)Block.dirt.blockID;
    this.setTemperatureRainfall(1.9F, 1.0F);

    this.spawnableCreatureList.add(new SpawnListEntry(EntityTomato.class, 10, 2, 3));
    this.spawnableCreatureList.add(new SpawnListEntry(EntityAlphaWolf.class, 10, 2, 3));

    theBiomeDecorator = new FCraftBiomeDeco(this);
    customBiomeDecorator = (FCraftBiomeDeco)theBiomeDecorator;
    customBiomeDecorator.farronPerChunk = 3;
    customBiomeDecorator.treesPerChunk = -999;
}
项目:FantasyCraft-Mod    文件:BiomeHighwaste.java   
public BiomeHighwaste(int id) {
    super(id);
    this.setBiomeName(Strings.NAMES_BIOME_HIGHWASTE);
    this.setMinMaxHeight(0.2F, 1.2F);
    this.topBlock = (byte)FCraftBlocks.highwasteDirt.blockID;
    this.fillerBlock = (byte)FCraftBlocks.highwasteGrass.blockID;
    this.setTemperatureRainfall(1.0F, 1.0F);

    this.spawnableCreatureList.add(new SpawnListEntry(EntityTomato.class, 10, 2, 3));
    this.spawnableCreatureList.add(new SpawnListEntry(EntityCactoid.class, 10, 2, 3));
    this.spawnableCreatureList.add(new SpawnListEntry(EntityAlphaWolf.class, 10, 2, 3));


    theBiomeDecorator = new FCraftBiomeDeco(this);
    customBiomeDecorator = (FCraftBiomeDeco)theBiomeDecorator;
    customBiomeDecorator.freyaPerChunk = 3;
    customBiomeDecorator.treesPerChunk = 1;

}
项目:FantasyCraft-Mod    文件:BiomeGolmoreJungle.java   
public BiomeGolmoreJungle(int id) {
    super(id);
    this.setBiomeName(Strings.NAMES_BIOME_GOLMORE);
    this.setMinMaxHeight(0.2F, 0.5F);
    this.topBlock = (byte)FCraftBlocks.jungleMud.blockID;
    this.fillerBlock = (byte)Block.dirt.blockID;
    this.setTemperatureRainfall(1.0F, 1.0F);

    this.spawnableCreatureList.add(new SpawnListEntry(EntityTomato.class, 10, 2, 3));
    //this.spawnableCreatureList.add(new SpawnListEntry(EntityCactoid.class, 100, 15, 15));


    theBiomeDecorator = new FCraftBiomeDeco(this);
    customBiomeDecorator = (FCraftBiomeDeco)theBiomeDecorator;
    customBiomeDecorator.celesPerChunk = 3;
    customBiomeDecorator.treesPerChunk = 20;
}
项目:RuneCraftery    文件:EntityRegistry.java   
public static void addSpawn(Class <? extends EntityLiving > entityClass, int weightedProb, int min, int max, EnumCreatureType typeOfCreature, BiomeGenBase... biomes)
{
    for (BiomeGenBase biome : biomes)
    {
        @SuppressWarnings("unchecked")
        List<SpawnListEntry> spawns = biome.func_76747_a(typeOfCreature);

        for (SpawnListEntry entry : spawns)
        {
            //Adjusting an existing spawn entry
            if (entry.field_76300_b == entityClass)
            {
                entry.field_76292_a = weightedProb;
                entry.field_76301_c = min;
                entry.field_76299_d = max;
                break;
            }
        }

        spawns.add(new SpawnListEntry(entityClass, weightedProb, min, max));
    }
}
项目:RuneCraftery    文件:EntityRegistry.java   
public static void removeSpawn(Class <? extends EntityLiving > entityClass, EnumCreatureType typeOfCreature, BiomeGenBase... biomes)
{
    for (BiomeGenBase biome : biomes)
    {
        @SuppressWarnings("unchecked")
        Iterator<SpawnListEntry> spawns = biome.func_76747_a(typeOfCreature).iterator();

        while (spawns.hasNext())
        {
            SpawnListEntry entry = spawns.next();
            if (entry.field_76300_b == entityClass)
            {
                spawns.remove();
            }
        }
    }
}
项目:RuneCraftery    文件:EntityRegistry.java   
public static void addSpawn(Class <? extends EntityLiving > entityClass, int weightedProb, int min, int max, EnumCreatureType typeOfCreature, BiomeGenBase... biomes)
{
    for (BiomeGenBase biome : biomes)
    {
        @SuppressWarnings("unchecked")
        List<SpawnListEntry> spawns = biome.getSpawnableList(typeOfCreature);

        for (SpawnListEntry entry : spawns)
        {
            //Adjusting an existing spawn entry
            if (entry.entityClass == entityClass)
            {
                entry.itemWeight = weightedProb;
                entry.minGroupCount = min;
                entry.maxGroupCount = max;
                break;
            }
        }

        spawns.add(new SpawnListEntry(entityClass, weightedProb, min, max));
    }
}
项目:RuneCraftery    文件:EntityRegistry.java   
public static void removeSpawn(Class <? extends EntityLiving > entityClass, EnumCreatureType typeOfCreature, BiomeGenBase... biomes)
{
    for (BiomeGenBase biome : biomes)
    {
        @SuppressWarnings("unchecked")
        Iterator<SpawnListEntry> spawns = biome.getSpawnableList(typeOfCreature).iterator();

        while (spawns.hasNext())
        {
            SpawnListEntry entry = spawns.next();
            if (entry.entityClass == entityClass)
            {
                spawns.remove();
            }
        }
    }
}
项目:RuneCraftery    文件:WorldEvent.java   
public PotentialSpawns(World world, EnumCreatureType type, int x, int y, int z, List oldList)
{
    super(world);
    this.x = x;
    this.y = y;
    this.z = z;
    this.type = type;
    if (oldList != null)
    {
        this.list = (List<SpawnListEntry>)oldList;
    }
    else
    {
        this.list = new ArrayList<SpawnListEntry>();
    }
}
项目:RuneCraftery    文件:WorldEvent.java   
public PotentialSpawns(World world, EnumCreatureType type, int x, int y, int z, List oldList)
{
    super(world);
    this.x = x;
    this.y = y;
    this.z = z;
    this.type = type;
    if (oldList != null)
    {
        this.list = (List<SpawnListEntry>)oldList;
    }
    else
    {
        this.list = new ArrayList<SpawnListEntry>();
    }
}
项目:BetterNutritionMod    文件:EntityRegistry.java   
public static void addSpawn(Class <? extends EntityLiving > entityClass, int weightedProb, int min, int max, EnumCreatureType typeOfCreature, BiomeGenBase... biomes)
{
    for (BiomeGenBase biome : biomes)
    {
        @SuppressWarnings("unchecked")
        List<SpawnListEntry> spawns = biome.getSpawnableList(typeOfCreature);

        for (SpawnListEntry entry : spawns)
        {
            //Adjusting an existing spawn entry
            if (entry.entityClass == entityClass)
            {
                entry.itemWeight = weightedProb;
                entry.minGroupCount = min;
                entry.maxGroupCount = max;
                break;
            }
        }

        spawns.add(new SpawnListEntry(entityClass, weightedProb, min, max));
    }
}
项目:BetterNutritionMod    文件:EntityRegistry.java   
public static void removeSpawn(Class <? extends EntityLiving > entityClass, EnumCreatureType typeOfCreature, BiomeGenBase... biomes)
{
    for (BiomeGenBase biome : biomes)
    {
        @SuppressWarnings("unchecked")
        Iterator<SpawnListEntry> spawns = biome.getSpawnableList(typeOfCreature).iterator();

        while (spawns.hasNext())
        {
            SpawnListEntry entry = spawns.next();
            if (entry.entityClass == entityClass)
            {
                spawns.remove();
            }
        }
    }
}
项目:BetterNutritionMod    文件:WorldEvent.java   
public PotentialSpawns(World world, EnumCreatureType type, int x, int y, int z, List oldList)
{
    super(world);
    this.x = x;
    this.y = y;
    this.z = z;
    this.type = type;
    if (oldList != null)
    {
        this.list = (List<SpawnListEntry>)oldList;
    }
    else
    {
        this.list = new ArrayList<SpawnListEntry>();
    }
}
项目:4-Space-Legacy    文件:SCEuropaChunkProvider.java   
@SuppressWarnings({ "unchecked", "rawtypes" })
@Override
public List getPossibleCreatures(EnumCreatureType par1EnumCreatureType, int i, int j, int k)
{
    if (par1EnumCreatureType == EnumCreatureType.monster)
    {
        final List monsters = new ArrayList();
        monsters.add(new SpawnListEntry(GCCoreEntityZombie.class, 8, 2, 3));
        monsters.add(new SpawnListEntry(GCCoreEntitySpider.class, 8, 2, 3));
        monsters.add(new SpawnListEntry(GCCoreEntitySkeleton.class, 8, 2, 3));
        monsters.add(new SpawnListEntry(GCCoreEntityCreeper.class, 8, 2, 3));
        return monsters;
    }
    else
    {
        return null;
    }
}
项目:4-Space-Legacy    文件:SCVestaChunkProvider.java   
@SuppressWarnings({ "unchecked", "rawtypes" })
@Override
public List getPossibleCreatures(EnumCreatureType par1EnumCreatureType, int i, int j, int k)
{
    if (par1EnumCreatureType == EnumCreatureType.monster)
    {
        final List monsters = new ArrayList();
        monsters.add(new SpawnListEntry(GCCoreEntityZombie.class, 8, 2, 3));
        monsters.add(new SpawnListEntry(GCCoreEntitySpider.class, 8, 2, 3));
        monsters.add(new SpawnListEntry(GCCoreEntitySkeleton.class, 8, 2, 3));
        monsters.add(new SpawnListEntry(GCCoreEntityCreeper.class, 8, 2, 3));
        return monsters;
    }
    else
    {
        return null;
    }
}
项目:4-Space-Legacy    文件:SCGanymedeChunkProvider.java   
@SuppressWarnings({ "unchecked", "rawtypes" })
@Override
public List getPossibleCreatures(EnumCreatureType par1EnumCreatureType, int i, int j, int k)
{
    if (par1EnumCreatureType == EnumCreatureType.monster)
    {
        final List monsters = new ArrayList();
        monsters.add(new SpawnListEntry(GCCoreEntityZombie.class, 8, 2, 3));
        monsters.add(new SpawnListEntry(GCCoreEntitySpider.class, 8, 2, 3));
        monsters.add(new SpawnListEntry(GCCoreEntitySkeleton.class, 8, 2, 3));
        monsters.add(new SpawnListEntry(GCCoreEntityCreeper.class, 8, 2, 3));
        return monsters;
    }
    else
    {
        return null;
    }
}
项目:4-Space-Legacy    文件:SCMercuryChunkProvider.java   
@SuppressWarnings({ "unchecked", "rawtypes" })
@Override
public List getPossibleCreatures(EnumCreatureType par1EnumCreatureType, int i, int j, int k)
{
    if (par1EnumCreatureType == EnumCreatureType.monster)
    {
        final List monsters = new ArrayList();
        monsters.add(new SpawnListEntry(GCCoreEntityZombie.class, 8, 2, 3));
        monsters.add(new SpawnListEntry(GCCoreEntitySpider.class, 8, 2, 3));
        monsters.add(new SpawnListEntry(GCCoreEntitySkeleton.class, 8, 2, 3));
        monsters.add(new SpawnListEntry(GCCoreEntityCreeper.class, 8, 2, 3));
        return monsters;
    }
    else
    {
        return null;
    }
}
项目:4-Space-Legacy    文件:SCErisChunkProvider.java   
@SuppressWarnings({ "unchecked", "rawtypes" })
@Override
public List getPossibleCreatures(EnumCreatureType par1EnumCreatureType, int i, int j, int k)
{
    if (par1EnumCreatureType == EnumCreatureType.monster)
    {
        final List monsters = new ArrayList();
        monsters.add(new SpawnListEntry(GCCoreEntityZombie.class, 8, 2, 3));
        monsters.add(new SpawnListEntry(GCCoreEntitySpider.class, 8, 2, 3));
        monsters.add(new SpawnListEntry(GCCoreEntitySkeleton.class, 8, 2, 3));
        monsters.add(new SpawnListEntry(GCCoreEntityCreeper.class, 8, 2, 3));
        return monsters;
    }
    else
    {
        return null;
    }
}
项目:4-Space-Legacy    文件:SCVenusChunkProvider.java   
@SuppressWarnings({ "unchecked", "rawtypes" })
@Override
public List getPossibleCreatures(EnumCreatureType par1EnumCreatureType, int i, int j, int k)
{
    if (par1EnumCreatureType == EnumCreatureType.monster)
    {
        final List monsters = new ArrayList();
        monsters.add(new SpawnListEntry(GCCoreEntityZombie.class, 8, 2, 3));
        monsters.add(new SpawnListEntry(GCCoreEntitySpider.class, 8, 2, 3));
        monsters.add(new SpawnListEntry(SCVenusEntityEvolvedBlaze.class, 1, 2, 3));
        monsters.add(new SpawnListEntry(GCCoreEntitySkeleton.class, 8, 2, 3));
        monsters.add(new SpawnListEntry(GCCoreEntityCreeper.class, 8, 2, 3));
        return monsters;
    }
    else
    {
        return null;
    }
}
项目:4-Space-Legacy    文件:SCPlutoChunkProvider.java   
@SuppressWarnings({ "unchecked", "rawtypes" })
@Override
public List getPossibleCreatures(EnumCreatureType par1EnumCreatureType, int i, int j, int k)
{
    if (par1EnumCreatureType == EnumCreatureType.monster)
    {
        final List monsters = new ArrayList();
        monsters.add(new SpawnListEntry(GCCoreEntityZombie.class, 8, 2, 3));
        monsters.add(new SpawnListEntry(GCCoreEntitySpider.class, 8, 2, 3));
        monsters.add(new SpawnListEntry(GCCoreEntitySkeleton.class, 8, 2, 3));
        monsters.add(new SpawnListEntry(GCCoreEntityCreeper.class, 8, 2, 3));
        return monsters;
    }
    else
    {
        return null;
    }
}
项目:4-Space-Legacy    文件:SCCallistoChunkProvider.java   
@SuppressWarnings({ "unchecked", "rawtypes" })
@Override
public List getPossibleCreatures(EnumCreatureType par1EnumCreatureType, int i, int j, int k)
{
    if (par1EnumCreatureType == EnumCreatureType.monster)
    {
        final List monsters = new ArrayList();
        monsters.add(new SpawnListEntry(GCCoreEntityZombie.class, 8, 2, 3));
        monsters.add(new SpawnListEntry(GCCoreEntitySpider.class, 8, 2, 3));
        monsters.add(new SpawnListEntry(GCCoreEntitySkeleton.class, 8, 2, 3));
        monsters.add(new SpawnListEntry(GCCoreEntityCreeper.class, 8, 2, 3));
        return monsters;
    }
    else
    {
        return null;
    }
}
项目:4-Space-Legacy    文件:SCTitanChunkProvider.java   
@SuppressWarnings({ "unchecked", "rawtypes" })
@Override
public List getPossibleCreatures(EnumCreatureType par1EnumCreatureType, int i, int j, int k)
{
    if (par1EnumCreatureType == EnumCreatureType.monster)
    {
        final List monsters = new ArrayList();
        monsters.add(new SpawnListEntry(GCCoreEntityZombie.class, 8, 2, 3));
        monsters.add(new SpawnListEntry(GCCoreEntitySpider.class, 8, 2, 3));
        monsters.add(new SpawnListEntry(GCCoreEntitySkeleton.class, 8, 2, 3));
        monsters.add(new SpawnListEntry(GCCoreEntityCreeper.class, 8, 2, 3));
        return monsters;
    }
    else
    {
        return null;
    }
}
项目:4-Space-Legacy    文件:SCIoChunkProvider.java   
@SuppressWarnings({ "unchecked", "rawtypes" })
@Override
public List getPossibleCreatures(EnumCreatureType par1EnumCreatureType, int i, int j, int k)
{
    if (par1EnumCreatureType == EnumCreatureType.monster)
    {
        final List monsters = new ArrayList();
        monsters.add(new SpawnListEntry(GCCoreEntityZombie.class, 8, 2, 3));
        monsters.add(new SpawnListEntry(GCCoreEntitySpider.class, 8, 2, 3));
        monsters.add(new SpawnListEntry(GCCoreEntitySkeleton.class, 8, 2, 3));
        monsters.add(new SpawnListEntry(GCCoreEntityCreeper.class, 8, 2, 3));
        return monsters;
    }
    else
    {
        return null;
    }
}
项目:Modjam-2    文件:BiomeMagic.java   
public BiomeMagic(int par1)
{
    super(par1);
    this.blockMaterial = Material.water;
    this.minHeight = 0.1F;
    this.maxHeight = 0.6F;
    this.spawnableMonsterList.clear();
    this.spawnableCreatureList.clear();

    this.spawnableMonsterList.add(new SpawnListEntry(EntitySpider.class, 10, 4, 4));
    this.spawnableMonsterList.add(new SpawnListEntry(EntitySkeleton.class, 10, 4, 4));

    this.topBlock = ((byte) ModJam.blockNewDimGrass.blockID);
    this.fillerBlock = ((byte) Block.dirt.blockID);
    this.setBiomeName("Magic");
    this.waterColorMultiplier = 0xE42D17;
    this.theBiomeDecorator.treesPerChunk = 3;
}
项目:JLPModJam    文件:BiomeGenLushHills.java   
@SuppressWarnings("unchecked")
public BiomeGenLushHills(int par1)
{
    super(par1);
    theBiomeDecorator = new BiomeDecoratorDL(this);
    customBiomeDecorator = (BiomeDecoratorDL)theBiomeDecorator;
    this.sTopBlock = (short) ModBlocks.dreamGrass.blockID;
    this.sFillerBlock = (short) ModBlocks.dreamDirt.blockID;
    this.minHeight = 0.1F;
    this.maxHeight = 0.3F;
    spawnableCreatureList.clear();
    this.spawnableCreatureList.add(new SpawnListEntry(EntityChicken.class, 10, 4, 4));
    this.spawnableCreatureList.add(new SpawnListEntry(EntitySonicCreeper.class, 10, 1, 2));
    this.waterColorMultiplier = 8900670;
    this.customBiomeDecorator.blueFlowersPerChunk = 3;
    this.customBiomeDecorator.grayFlowersPerChunk = 2;
    this.customBiomeDecorator.purpleFlowersPerChunk = 3;
    this.customBiomeDecorator.treesPerChunk = 7;
    this.customBiomeDecorator.nodesPerChunk = 3;


}
项目:IceMod    文件:IceLands.java   
public IceLands(int par1)
{
    super(par1);

    this.setBiomeName("Icelands");

    this.topBlock = (byte)IceMod.IcyOre.blockID;
    this.fillerBlock = (byte)Block.ice.blockID;

    this.theBiomeDecorator.bigMushroomsPerChunk = 10;
    this.theBiomeDecorator.treesPerChunk = 5;
    this.theBiomeDecorator.clayPerChunk  = 3;
    this.theBiomeDecorator.reedsPerChunk = 1;

    this.spawnableMonsterList.add(new SpawnListEntry(EntitySnowman.class, 25, 4, 8));
    this.spawnableCreatureList.add(new SpawnListEntry(EntityCow.class, 25, 4, 8));
    this.spawnableMonsterList.add(new SpawnListEntry(EntityDragon.class, 1, 1, 1));
    this.spawnableMonsterList.add(new SpawnListEntry(EntityIronGolem.class, 1, 1, 1));

    this.setMinMaxHeight(0.1F, 0.5F);
    //mnmx
    this.setTemperatureRainfall(0.7F, 0.2F);

}
项目:Runes-And-Silver    文件:OldForestBiome.java   
public OldForestBiome(int par1){
    super(par1);
    this.topBlock = (byte) Block.grass.blockID;
    this.fillerBlock = (byte) Block.dirt.blockID;

    this.setMinMaxHeight(0.1F, 0.9F);
    this.spawnableCreatureList.add(new SpawnListEntry(EntityForestWalker.class, 5, 1, 1));

    this.theBiomeDecorator.treesPerChunk = 10;
    this.theBiomeDecorator.flowersPerChunk = 6;
    this.theBiomeDecorator.grassPerChunk = 2;
    this.theBiomeDecorator.bigMushroomsPerChunk = 1;
    this.theBiomeDecorator.mushroomsPerChunk = 2;
}
项目:ZeroQuest    文件:BiomeGenDestroZone.java   
public BiomeGenDestroZone(int par1)
{
    super(par1);
    this.topBlock = (byte)Block.sand.blockID;
    this.fillerBlock = (byte)Block.sand.blockID;
    this.waterColorMultiplier = 0x333333;
    this.theBiomeDecorator.treesPerChunk = -999;
    this.theBiomeDecorator.deadBushPerChunk = 2;
    this.theBiomeDecorator.reedsPerChunk = 50;
    this.theBiomeDecorator.cactiPerChunk = 10;
    //this.theBiomeDecorator.generateLakes = true;
    this.spawnableMonsterList.clear();
    this.spawnableCreatureList.add(new SpawnListEntry(EntityDestroZertum.class, 100, 4, 4));

}
项目:ZeroQuest    文件:BiomeGenRedSeed.java   
public BiomeGenRedSeed(int id) {
    super(id);
    //topBlock = (byte)ModBlocks.nileGrass.blockID;
    //fillerBlock = (byte)ModBlocks.nileDirt.blockID;
    this.waterColorMultiplier = 0x003333;
    this.theBiomeDecorator.treesPerChunk = -999;
    this.theBiomeDecorator.grassPerChunk = 3;
    this.theBiomeDecorator.flowersPerChunk = -999;
    this.theBiomeDecorator.generateLakes = true;
    this.spawnableMonsterList.clear();
    this.spawnableCreatureList.add(new SpawnListEntry(EntityRedZertum.class, 100, 4, 4));
    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    文件:BiomeGenBioZone.java   
public BiomeGenBioZone(int id) {
    super(id);
    //topBlock = (byte)ZeroQuest.nileGrass.blockID;
    //fillerBlock = (byte)ZeroQuest.nileDirt.blockID;
    this.theBiomeDecorator.generateLakes = true;
    this.theBiomeDecorator.treesPerChunk = 4;
    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    文件:BiomeGenPinkZone.java   
public BiomeGenPinkZone(int id) {
    super(id);
    //topBlock = (byte)ModBlocks.nileGrass.blockID;
    //fillerBlock = (byte)ModBlocks.nileDirt.blockID;
    this.theBiomeDecorator.generateLakes = true;
    this.theBiomeDecorator.treesPerChunk = 10;
    this.spawnableMonsterList.clear();
    this.spawnableCreatureList.add(new SpawnListEntry(EntityZertum.class, 90, 4, 4));
    this.spawnableCreatureList.add(new SpawnListEntry(EntityChicken.class, 5, 1, 5));
    this.spawnableCreatureList.add(new SpawnListEntry(EntityCow.class, 5, 1, 5));
}
项目:ZeroQuest    文件:BiomeGenWalRockland.java   
public BiomeGenWalRockland(int par1)
{
    super(par1);
    this.spawnableMonsterList.clear();
    this.spawnableWaterCreatureList.clear();
    this.spawnableCaveCreatureList.clear();
    this.waterColorMultiplier = 0x7A9999;
    this.spawnableCreatureList.add(new SpawnListEntry(EntityJakan.class, 100, 2, 2));
    this.spawnableCreatureList.add(new SpawnListEntry(EntityJakanPrime.class, 100, 2, 2));
    this.topBlock = (byte)ModBlocks.looseBedrock.blockID;
    this.fillerBlock = (byte)Block.coalBlock.blockID;
    this.canSpawnLightningBolt();
}
项目:FantasyCraft-Mod    文件:BiomeMarsh.java   
public BiomeMarsh(int id) {
    super(id);
    this.setBiomeName(Strings.NAMES_BIOME_MARSH);
    this.setMinMaxHeight(0.2F, 0.2F);
    this.setTemperatureRainfall(1.0F, 1.0F);
    this.spawnableMonsterList.add(new SpawnListEntry(EntitySlime.class, 1, 1, 1));
    this.topBlock = (byte)FCraftBlocks.hydricGrass.blockID;
    this.fillerBlock = (byte)FCraftBlocks.hydricSoil.blockID;

    this.theBiomeDecorator.flowersPerChunk = -999;
    this.theBiomeDecorator.deadBushPerChunk = 1;
    this.theBiomeDecorator.mushroomsPerChunk = 8;
    this.theBiomeDecorator.reedsPerChunk = 10;
    this.theBiomeDecorator.clayPerChunk = 1;
    this.theBiomeDecorator.waterlilyPerChunk = 4;
    this.waterColorMultiplier = 14745518;

    this.spawnableCreatureList.add(new SpawnListEntry(EntityTomato.class, 10, 2, 3));
    //this.spawnableCreatureList.add(new SpawnListEntry(EntityCactoid.class, 100, 15, 15));

    theBiomeDecorator = new FCraftBiomeDeco(this);
    customBiomeDecorator = (FCraftBiomeDeco)theBiomeDecorator;
    customBiomeDecorator.aerithPerChunk = 3;
    customBiomeDecorator.yunaPerChunk = 3;
    customBiomeDecorator.aerithPerChunk = 3;
    customBiomeDecorator.treesPerChunk = 2;
}