Package net.minecraft.world.biome.BiomeGenBase

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


        setBiomeName("Birch Forest");
        temperature = 0.4F;
        rainfall = 0.7F;
        this.setHeight(new Height(0.2F, 0.2F));
       
        spawnableCreatureList.add(new SpawnListEntry(net.minecraft.entity.passive.EntityWolf.class, 5, 4, 4));
    }
View Full Code Here


        setBiomeName("Shrubland");
        temperature = 0.4F;
        rainfall = 0.6F;
        this.setHeight(new Height(0.2F, 0.1F));
       
        spawnableCreatureList.add(new SpawnListEntry(EntityHorse.class, 6, 1, 5));
    }
View Full Code Here

        temperature = BiomeGenBase.jungle.temperature;
        rainfall = BiomeGenBase.jungle.rainfall;
        // TODO: Check This new height
        this.setHeight(new Height(1.2F, 0.1F));
       
        spawnableMonsterList.add(new SpawnListEntry(EntityOcelot.class, 2, 1, 1));
        spawnableCreatureList.add(new SpawnListEntry(EntityChicken.class, 10, 4, 4));
    }
View Full Code Here

                    entry.maxGroupCount = max;
                    break;
                }
            }

            spawns.add(new SpawnListEntry(entityClass, weightedProb, min, max));
        }
    }
View Full Code Here

            @SuppressWarnings("unchecked")
            Iterator<SpawnListEntry> spawns = biome.getSpawnableList(typeOfCreature).iterator();

            while (spawns.hasNext())
            {
                SpawnListEntry entry = spawns.next();
                if (entry.entityClass == entityClass)
                {
                    spawns.remove();
                }
            }
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.