示例#1
0
        private static void RegisterHell()
        {
            Func <bool> c = () => (Main.player[Main.myPlayer].position.Y / 16) > Main.maxTilesY - 200;

            BiomeLibs.RegisterNewBiome("hell", 0, null);
            BiomeLibs.SetCondition("hell", c);
        }
示例#2
0
 public void resetList()
 {
     BiomeLibs.reset();
 }
示例#3
0
 private static void RegisterMarble()
 {
     BiomeLibs.RegisterNewBiome("marble", 80, null);
     BiomeLibs.AddBlockInBiomeByID("marble", new int[] { TileID.Marble });
 }
示例#4
0
 private static void RegisterGranite()
 {
     BiomeLibs.RegisterNewBiome("granite", 80, null);
     BiomeLibs.AddBlockInBiomeByID("granite", new int[] { TileID.Granite });
 }