Exemplo n.º 1
0
 /**
  * Add a mob to the spawn list
  *
  * @param entityName
  * @param weightedProb
  * @param min
  * @param max
  * @param spawnList
  * @param biomes
  */
 public static void addSpawn(
     String entityName,
     int weightedProb,
     int min,
     int max,
     EnumCreatureType spawnList,
     BiomeGenBase... biomes) {
   FMLRegistry.addSpawn(entityName, weightedProb, min, max, spawnList, biomes);
 }
Exemplo n.º 2
0
 /**
  * Add a mob to the spawn list
  *
  * @param entityClass
  * @param weightedProb
  * @param min
  * @param max
  * @param spawnList
  * @param biomes
  */
 public static void addSpawn(
     Class<? extends EntityLiving> entityClass,
     int weightedProb,
     int min,
     int max,
     EnumCreatureType spawnList,
     BiomeGenBase... biomes) {
   FMLRegistry.addSpawn(entityClass, weightedProb, min, max, spawnList, biomes);
 }
Exemplo n.º 3
0
 /**
  * Add a mob to the spawn list
  *
  * @param entityName
  * @param weightedProb
  * @param min
  * @param max
  * @param spawnList
  */
 public static void addSpawn(
     String entityName, int weightedProb, int min, int max, EnumCreatureType spawnList) {
   FMLRegistry.addSpawn(
       entityName,
       weightedProb,
       min,
       max,
       spawnList,
       FMLServerHandler.instance().getDefaultOverworldBiomes());
 }
Exemplo n.º 4
0
 /**
  * Add a mob to the spawn list
  *
  * @param entityClass
  * @param weightedProb
  * @param min
  * @param max
  * @param spawnList
  */
 public static void addSpawn(
     Class<? extends EntityLiving> entityClass,
     int weightedProb,
     int min,
     int max,
     EnumCreatureType spawnList) {
   FMLRegistry.addSpawn(
       entityClass,
       weightedProb,
       min,
       max,
       spawnList,
       FMLServerHandler.instance().getDefaultOverworldBiomes());
 }