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