public static void AddBlockInBiomeByID(String biomeName, int[] blockID)
 {
     if (world == null)
     {
         world = instance.GetModWorld <BiomeWorld>();
     }
     world.addBlock(biomeName, blockID);
 }
 public static void AddBlockInBiome(String biomeName, String[] blockName)
 {
     if (world == null)
     {
         world = instance.GetModWorld <BiomeWorld>();
     }
     world.addBlock(biomeName, blockName);
 }
Exemple #3
0
 public BiomeLibs()
 {
     World      = this.GetModWorld <BiomeWorld>();
     Instance   = this;
     Properties = new ModProperties()
     {
         Autoload       = true,
         AutoloadGores  = true,
         AutoloadSounds = true
     };
 }