Examples of SpawnListEntry


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

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

        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

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

        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

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

                    entry.maxGroupCount = max;
                    break;
                }
            }

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

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

            @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

Examples of net.minecraft.world.biome.SpawnListEntry

              while (var17 < 3) {
                int var18 = var13;
                int var19 = var14;
                int var20 = var15;
                byte var21 = 6;
                SpawnListEntry var22 = null;
                EntityLivingData unusedEntityLivingData = null;
                int var23 = 0;

                while (true) {
                  if (var23 < 4) {
View Full Code Here

Examples of net.minecraft.world.biome.SpawnListEntry

              continue;
            }
          }

          if (creatureType == EnumCreatureType.waterCreature || (!worldServer.getBlockMaterial(ssX, ssY - 1, ssZ).isLiquid())) {
            SpawnListEntry creatureClass = worldServer.spawnRandomCreature(creatureType, ssX, ssY, ssZ);
            if (creatureClass == null) {
              break;
            }

            EntityLiving spawnedEntity;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.