Esempio 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);
 }
Esempio 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);
 }
Esempio 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());
 }
Esempio 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());
 }