Package net.minecraft.world.biome.BiomeGenBase

Examples of net.minecraft.world.biome.BiomeGenBase.SpawnListEntry


        this.scatteredFeatureSpawnList = new ArrayList();
        this.maxDistanceBetweenScatteredFeatures = configs.worldConfig.maximumDistanceBetweenRareBuildings;
        // Minecraft's internal minimum distance is one lower than TC's value
        this.minDistanceBetweenScatteredFeatures = configs.worldConfig.minimumDistanceBetweenRareBuildings - 1;
        this.scatteredFeatureSpawnList.add(new SpawnListEntry(EntityWitch.class, 1, 1, 1));
    }
View Full Code Here


{
    public List<SpawnListEntry> spawnList = new ArrayList<SpawnListEntry>();

    public NetherFortressGen()
    {
        this.spawnList.add(new SpawnListEntry(EntityBlaze.class, 10, 2, 3));
        this.spawnList.add(new SpawnListEntry(EntityPigZombie.class, 5, 4, 4));
        this.spawnList.add(new SpawnListEntry(EntitySkeleton.class, 10, 4, 4));
        this.spawnList.add(new SpawnListEntry(EntityMagmaCube.class, 3, 4, 4));
    }
View Full Code Here

        for (WeightedMobSpawnGroup mobGroup : weightedMobSpawnGroups)
        {
            Class<? extends Entity> entityClass = toMinecraftClass(mobGroup.getInternalName());
            if (entityClass != null)
            {
                biomeList.add(new SpawnListEntry(entityClass, mobGroup.getWeight(), mobGroup.getMin(), mobGroup.getMax()));
            } else
            {
                // The .toLowerCase() is just a safeguard so that we get
                // notified if this.af is no longer the biome name
                TerrainControl.log(LogMarker.WARN, "Mob type {} not found",
View Full Code Here

    public List getPossibleCreatures(EnumCreatureType par1EnumCreatureType, int i, int j, int k)
    {
        if (par1EnumCreatureType == EnumCreatureType.monster)
        {
            final List monsters = new ArrayList();
            monsters.add(new SpawnListEntry(EntityEvolvedZombie.class, 8, 2, 3));
            monsters.add(new SpawnListEntry(EntityEvolvedSpider.class, 8, 2, 3));
            monsters.add(new SpawnListEntry(EntityEvolvedSkeleton.class, 8, 2, 3));
            monsters.add(new SpawnListEntry(EntityEvolvedCreeper.class, 8, 2, 3));
            return monsters;
        }
        else
        {
            return null;
View Full Code Here

    public List getPossibleCreatures(EnumCreatureType par1EnumCreatureType, int i, int j, int k)
    {
        if (par1EnumCreatureType == EnumCreatureType.monster)
        {
            final List monsters = new ArrayList();
            monsters.add(new SpawnListEntry(EntityEvolvedZombie.class, 2000, 1, 1));
            monsters.add(new SpawnListEntry(EntityEvolvedSpider.class, 2000, 1, 1));
            monsters.add(new SpawnListEntry(EntityEvolvedSkeleton.class, 2000, 1, 1));
            monsters.add(new SpawnListEntry(EntityEvolvedCreeper.class, 2000, 1, 1));
            return monsters;
        }
        else
        {
            return null;
View Full Code Here

       
        temperature = BiomeGenBase.forest.temperature - 0.1F;
        rainfall = BiomeGenBase.forest.rainfall;
        this.setHeight(new Height(1.0F, 0.8F));
       
        spawnableCreatureList.add(new SpawnListEntry(EntityWolf.class, 5, 4, 4));
    }
View Full Code Here

        temperature = BiomeGenBase.taigaHills.temperature;
        rainfall = BiomeGenBase.taigaHills.rainfall;
        this.setHeight(new Height(0.3F, 0.2F));
        setEnableSnow();
       
        spawnableCreatureList.add(new SpawnListEntry(net.minecraft.entity.passive.EntityWolf.class, 5, 4, 4));
    }
View Full Code Here

        setBiomeName("Mountain Taiga");
        temperature = 0.0F;
        rainfall = BiomeGenBase.taigaHills.rainfall;
        this.setHeight(new Height(0.75F, 0.45F));
       
        spawnableCreatureList.add(new SpawnListEntry(EntityWolf.class, 8, 4, 4));
    }
View Full Code Here

        setBiomeName("Pine Forest");
        temperature = BiomeGenBase.forest.temperature;
        rainfall = BiomeGenBase.forest.rainfall;
        this.setHeight(new Height(0.2F, 0.1F));
       
        spawnableCreatureList.add(new SpawnListEntry(EntityWolf.class, 5, 4, 4));
    }
View Full Code Here

        setBiomeName("Savanna");
        temperature = BiomeGenBase.desert.temperature;
        rainfall = BiomeGenBase.desert.rainfall;
        this.setHeight(new Height(0.1F, 0.05F));
       
        spawnableCreatureList.add(new SpawnListEntry(EntityHorse.class, 3, 2, 4));
    }
View Full Code Here

TOP

Related Classes of net.minecraft.world.biome.BiomeGenBase.SpawnListEntry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.