Exemplo n.º 1
0
 static MapDat()
 {
     if (!Heartbeat.ClassiCube())              //if using mc.net
     {
         Mapping[50] = (byte)Block.Air;        // torch
         Mapping[51] = (byte)Block.Lava;       // fire
         Mapping[52] = (byte)Block.Glass;      // spawner
         Mapping[53] = (byte)Block.Stair;      // wood stairs
         Mapping[54] = (byte)Block.Wood;       // chest
         Mapping[55] = (byte)Block.Air;        // redstone wire
         Mapping[56] = (byte)Block.IronOre;    // diamond ore
         Mapping[57] = (byte)Block.Aqua;       // diamond block
         Mapping[58] = (byte)Block.Log;        // workbench
         Mapping[59] = (byte)Block.Leaves;     // crops
         Mapping[60] = (byte)Block.Dirt;       // soil
         Mapping[61] = (byte)Block.Stone;      // furnace
         Mapping[62] = (byte)Block.Stone;      // burning furnance
         Mapping[63] = (byte)Block.Air;        // sign post
         Mapping[64] = (byte)Block.Air;        // wooden door
         Mapping[65] = (byte)Block.Air;        // ladder
     }
     else                                      //classicube
     {
         Mapping[50] = (byte)Block.CobbleSlab; // torch
         Mapping[51] = (byte)Block.Rope;       // fire
         Mapping[52] = (byte)Block.Sandstone;  // spawner
         Mapping[53] = (byte)Block.Snow;       // wood stairs
         Mapping[54] = (byte)Block.Fire;       // chest
         Mapping[55] = (byte)Block.LightPink;  // redstone wire
         Mapping[56] = (byte)Block.DarkGreen;  // diamond ore
         Mapping[57] = (byte)Block.Brown;      // diamond block
         Mapping[58] = (byte)Block.DarkBlue;   // workbench
         Mapping[59] = (byte)Block.Turquoise;  // crops
         Mapping[60] = (byte)Block.Ice;        // soil
         Mapping[61] = (byte)Block.Tile;       // furnace
         Mapping[62] = (byte)Block.Magma;      // burning furnance
         Mapping[63] = (byte)Block.Pillar;     // sign post
         Mapping[64] = (byte)Block.Crate;      // wooden door
         Mapping[65] = (byte)Block.StoneBrick; // ladder
     }
     Mapping[66] = (byte)Block.Air;            // rails
     Mapping[67] = (byte)Block.Stair;          // cobblestone stairs
     Mapping[68] = (byte)Block.Air;            // wall sign
     Mapping[69] = (byte)Block.Air;            // lever
     Mapping[70] = (byte)Block.Air;            // pressure plate
     Mapping[71] = (byte)Block.Air;            // iron door
     Mapping[72] = (byte)Block.Air;            // wooden pressure plate
     Mapping[73] = (byte)Block.IronOre;        // redstone ore
     Mapping[74] = (byte)Block.IronOre;        // glowing redstone ore
     Mapping[75] = (byte)Block.Air;            // redstone torch (off)
     Mapping[76] = (byte)Block.Air;            // redstone torch (on)
     Mapping[77] = (byte)Block.Air;            // stone button
     Mapping[78] = (byte)Block.Air;            // snow
     Mapping[79] = (byte)Block.Glass;          // ice
     Mapping[80] = (byte)Block.White;          // snow block
     Mapping[81] = (byte)Block.Leaves;         // cactus
     Mapping[82] = (byte)Block.Gray;           // clay
     Mapping[83] = (byte)Block.Leaves;         // reed
     Mapping[84] = (byte)Block.Log;            // jukebox
     Mapping[85] = (byte)Block.Wood;           // fence
     Mapping[86] = (byte)Block.Orange;         // pumpkin
     Mapping[87] = (byte)Block.Dirt;           // netherstone
     Mapping[88] = (byte)Block.Gravel;         // slow sand
     Mapping[89] = (byte)Block.Sand;           // lightstone
     Mapping[90] = (byte)Block.Violet;         // portal
     Mapping[91] = (byte)Block.Orange;         // jack-o-lantern
     // all others default to 0/air
 }