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