mirror of
https://github.com/tetreum/brickcraft.git
synced 2026-02-19 17:39:43 -06:00
197 lines
3.7 KiB
C#
197 lines
3.7 KiB
C#
// Highly based on https://github.com/chraft/chunk-light-tester
|
|
namespace Brickcraft.World {
|
|
public enum BlockFace
|
|
{
|
|
Top,
|
|
Side,
|
|
Bottom
|
|
}
|
|
|
|
public enum BlockType : byte
|
|
{
|
|
//Invalid = 255,
|
|
|
|
//Block Tiles
|
|
Air = 0,
|
|
Stone = 1,
|
|
Grass = 2,
|
|
Dirt = 3,
|
|
Cobblestone = 4,
|
|
Wood_Planks = 5,
|
|
Sapling = 6,
|
|
Bedrock = 7,
|
|
Adminium = 7,
|
|
Water = 8,
|
|
Stationary_Water = 9,
|
|
Still_Water = 9,
|
|
Lava = 10,
|
|
Stationary_Lava = 11,
|
|
Still_Lava = 11,
|
|
Sand = 12,
|
|
Gravel = 13,
|
|
Gold_Ore = 14,
|
|
Iron_Ore = 15,
|
|
Coal_Ore = 16,
|
|
Wood = 17,
|
|
Leaves = 18,
|
|
Sponge = 19,
|
|
Glass = 20,
|
|
Lapis_Lazuli_Ore = 21,
|
|
Lapis_Lazuli_Block = 22,
|
|
Dispenser = 23,
|
|
Sandstone = 24,
|
|
Note_Block = 25,
|
|
Bed = 26,
|
|
PoweredRail = 27,
|
|
DetectorRail = 28,
|
|
StickyPiston = 29,
|
|
Cobweb = 30,
|
|
TallGrass = 31,
|
|
DeadBush = 32,
|
|
Piston = 33,
|
|
PistonHead = 34,
|
|
Cloth = 35,
|
|
Wool = 35,
|
|
Yellow_Flower = 37,
|
|
Flower = 37,
|
|
Red_Rose = 38,
|
|
Rose = 38,
|
|
Brown_Mushroom = 39,
|
|
Red_Mushroom = 40,
|
|
Gold_Block = 41,
|
|
Iron_Block = 42,
|
|
Double_Stair = 43,
|
|
Double_Stone_Slab = 43,
|
|
Stair = 44,
|
|
Slab = 44,
|
|
Brick = 45,
|
|
TNT = 46,
|
|
Bookcase = 47,
|
|
Bookshelf = 47,
|
|
Mossy_Cobblestone = 48,
|
|
Moss_Stone = 48,
|
|
Obsidian = 49,
|
|
Torch = 50,
|
|
Fire = 51,
|
|
Mob_Spawner = 52,
|
|
Wooden_Stairs = 53,
|
|
Chest = 54,
|
|
Redstone_Wire = 55,
|
|
Diamond_Ore = 56,
|
|
Diamond_Block = 57,
|
|
Workbench = 58,
|
|
Crops = 59,
|
|
Soil = 60,
|
|
Furnace = 61,
|
|
Burning_Furnace = 62,
|
|
Sign_Post = 63,
|
|
Wooden_Door = 64,
|
|
Ladder = 65,
|
|
Minecart_Rail = 66,
|
|
Rails = 66,
|
|
Track = 66,
|
|
Tracks = 66,
|
|
Cobblestone_Stairs = 67,
|
|
Stone_Stairs = 67,
|
|
Wall_Sign = 68,
|
|
Lever = 69,
|
|
Stone_Pressure_Plate = 70,
|
|
Iron_Door = 71,
|
|
Wooden_Pressure_Plate = 72,
|
|
Redstone_Ore = 73,
|
|
Redstone_Ore_Glowing = 74,
|
|
Redstone_Torch = 75,
|
|
Redstone_Torch_On = 76,
|
|
Stone_Button = 77,
|
|
Snow = 78,
|
|
Ice = 79,
|
|
Snow_Block = 80,
|
|
Cactus = 81,
|
|
Clay = 82,
|
|
Reed = 83,
|
|
Jukebox = 84,
|
|
Fence = 85,
|
|
Pumpkin = 86,
|
|
Bloodstone = 87,
|
|
Netherrack = 87,
|
|
Slow_Sand = 88,
|
|
Soul_Sand = 88,
|
|
Lightstone = 89,
|
|
Glowstone = 89,
|
|
Portal = 90,
|
|
Jack_O_Lantern = 91,
|
|
Pumpkin_Lantern = 91,
|
|
Cake = 92,
|
|
Redstone_Repeater = 93,
|
|
Redstone_Repeater_On = 94,
|
|
LockedChest = 95,
|
|
Trapdoor = 96,
|
|
SilverfishStone = 97,
|
|
StoneBrick = 98,
|
|
BrownMushroomCap = 99,
|
|
RedMushroomCap = 100,
|
|
IronBars = 101,
|
|
GlassPane = 102,
|
|
Melon = 103,
|
|
PumpkinStem = 104,
|
|
MelonStem = 105,
|
|
Vines = 106,
|
|
FenceGate = 107,
|
|
BrickStairs = 108,
|
|
StoneBrickStairs = 109,
|
|
Mycelium = 110,
|
|
LilyPad = 111,
|
|
NetherBrick = 112,
|
|
NetherBrickFence = 113,
|
|
NetherBrickStairs = 114,
|
|
NetherWart = 115,
|
|
Enchantment_Table = 116,
|
|
Brewing_Stand = 117,
|
|
Cauldron = 118,
|
|
End_Portal = 119,
|
|
End_Portal_Block = 120,
|
|
End_Stone = 121,
|
|
Dragon_Egg = 122,
|
|
Redstone_Lamp = 123,
|
|
Redstone_Lamp_On = 124,
|
|
Wooden_Double_Slab = 125,
|
|
Wooden_Slab = 126,
|
|
Cocoa = 127,
|
|
Sandstone_Stairs = 128,
|
|
Emerald_Ore = 129,
|
|
Ender_Chest = 130,
|
|
Tripwire_Hook = 131,
|
|
Tripwire = 132,
|
|
Block_Of_Emerald = 133,
|
|
Spruce_Wood_Stairs = 134,
|
|
Birch_Wood_Stairs = 135,
|
|
Jungle_Wood_Stairs = 136,
|
|
Command_Block = 137,
|
|
Beacon = 138,
|
|
Cobblestone_Wall = 139,
|
|
Flower_Pot = 140,
|
|
Carrots = 141,
|
|
Potatoes = 142,
|
|
Wooden_Button = 143,
|
|
Mob_Head = 144,
|
|
Anvil = 145,
|
|
Trapped_Chest = 146,
|
|
Weighted_Pressure_Plate_Light = 147,
|
|
Weighted_Pressure_Plate_Heavy = 148,
|
|
Redstone_Comparator = 149,
|
|
Redstone_Comparator_On = 150,
|
|
Daylight_Sensor = 151,
|
|
Block_Of_Redstone = 152,
|
|
Nether_Quartz_Ore = 153,
|
|
Hopper = 154,
|
|
Block_Of_Quartz = 155,
|
|
Quartz_Stairs = 156,
|
|
Activator_Rail = 157,
|
|
Dropper = 158,
|
|
Hay_Block = 170,
|
|
Carpet = 171,
|
|
Hardened_Clay = 172,
|
|
Block_Of_Coal = 173,
|
|
NULL = 255
|
|
}
|
|
} |