summaryrefslogtreecommitdiffstats
path: root/source/BlockID.h
blob: 43451569da36d7efd86edee6819b76b6c52681c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
#pragma once

//tolua_begin
enum ENUM_BLOCK_ID
{
	E_BLOCK_AIR	= 0,
	E_BLOCK_STONE = 1,
	E_BLOCK_GRASS = 2,
	E_BLOCK_DIRT	= 3,
	E_BLOCK_COBBLESTONE = 4,
	E_BLOCK_WOOD = 5,
	E_BLOCK_SAPLING = 6,
	E_BLOCK_BEDROCK = 7,
	E_BLOCK_WATER = 8,
	E_BLOCK_STATIONARY_WATER = 9,
	E_BLOCK_LAVA = 10,
	E_BLOCK_STATIONARY_LAVA = 11,
	E_BLOCK_SAND = 12,
	E_BLOCK_GRAVEL = 13,
	E_BLOCK_GOLD_ORE = 14,
	E_BLOCK_IRON_ORE = 15,
	E_BLOCK_COAL_ORE = 16,
	E_BLOCK_LOG = 17,
	E_BLOCK_LEAVES = 18,
	E_BLOCK_SPONGE = 19,
	E_BLOCK_GLASS = 20,
	E_BLOCK_WHITE_CLOTH = 35,
	E_BLOCK_YELLOW_FLOWER = 37,
	E_BLOCK_RED_ROSE = 38,
	E_BLOCK_BROWN_MUSHROOM = 39,
	E_BLOCK_RED_MUSHROOM = 40,
	E_BLOCK_GOLD_BLOCK = 41,
	E_BLOCK_IRON_BLOCK = 42,
	E_BLOCK_DOUBLE_STEP = 43,
	E_BLOCK_STEP = 44,
	E_BLOCK_BRICK = 45,
	E_BLOCK_TNT = 46,
	E_BLOCK_BOOKCASE = 47,
	E_BLOCK_MOSSY_COBBLESTONE = 48,
	E_BLOCK_OBSIDIAN = 49,
	E_BLOCK_TORCH = 50,
	E_BLOCK_FIRE = 51,
	E_BLOCK_MOB_SPAWNER = 52,
	E_BLOCK_WOODEN_STAIRS = 53,
	E_BLOCK_CHEST = 54,
	E_BLOCK_REDSTONE_WIRE = 55,
	E_BLOCK_DIAMOND_ORE = 56,
	E_BLOCK_DIAMOND_BLOCK = 57,
	E_BLOCK_WORKBENCH = 58,
	E_BLOCK_CROPS = 59,
	E_BLOCK_SOIL = 60,
	E_BLOCK_FURNACE = 61,
	E_BLOCK_BURNING_FURNACE = 62,
	E_BLOCK_SIGN_POST = 63,
	E_BLOCK_WOODEN_DOOR = 64,
	E_BLOCK_LADDER = 65,
	E_BLOCK_MINECART_TRACKS = 66,
	E_BLOCK_COBBLESTONE_STAIRS = 67,
	E_BLOCK_WALLSIGN = 68,
	E_BLOCK_LEVER = 69,
	E_BLOCK_STONE_PRESSURE_PLATE = 70,
	E_BLOCK_IRON_DOOR = 71,
	E_BLOCK_WOODEN_PRESSURE_PLATE = 72,
	E_BLOCK_REDSTONE_ORE = 73,
	E_BLOCK_REDSTONE_ORE_GLOWING = 74,
	E_BLOCK_REDSTONE_TORCH_ON = 75,
	E_BLOCK_REDSTONE_TORCH_OFF = 76,

	E_BLOCK_SNOW = 78,
	E_BLOCK_ICE = 79,
	E_BLOCK_SNOW_BLOCK = 80,
	E_BLOCK_CACTUS = 81,
	E_BLOCK_CLAY = 82,
	E_BLOCK_REEDS = 83,

	E_BLOCK_BLOODSTONE = 87,
	E_BLOCK_SOULSAND = 88,
	E_BLOCK_GLOWSTONE = 89,
	E_BLOCK_PORT = 90,
	E_BLOCK_JACK_O_LANTERN = 91,
	E_BLOCK_CAKE = 92,
	E_BLOCK_REDSTONE_REPEATER_OFF = 93,
	E_BLOCK_REDSTONE_REPEATER_ON = 94,
	E_BLOCK_LOCKED_CHEST = 95,
	E_BLOCK_TRAPDOOR = 96,
};
//tolua_end

//tolua_begin
enum ENUM_ITEM_ID
{
	E_ITEM_EMPTY	= -1,
	E_ITEM_STONE	= 1,
	E_ITEM_GRASS	= 2,
	E_ITEM_DIRT		= 3,
	E_ITEM_COBBLESTONE = 4,
	E_ITEM_WOOD = 5,
	E_ITEM_SAPLING = 6,
	E_ITEM_BEDROCK = 7,
	E_ITEM_WATER = 8,
	E_ITEM_STATIONARY_WATER = 9,
	E_ITEM_LAVA = 10,
	E_ITEM_STATIONARY_LAVA = 11,
	E_ITEM_SAND = 12,
	E_ITEM_GRAVEL = 13,
	E_ITEM_GOLD_ORE = 14,
	E_ITEM_IRON_ORE = 15,
	E_ITEM_COAL_ORE = 16,
	E_ITEM_LOG = 17,
	E_ITEM_LEAVES = 18,
	E_ITEM_GOLD_BLOCK = 41,
	E_ITEM_IRON_BLOCK = 42,
	E_ITEM_DIAMOND_BLOCK = 57,
	E_ITEM_FLINT_AND_STEEL = 259,
	E_ITEM_APPLE = 260,
	E_ITEM_BOW = 261,
	E_ITEM_ARROW = 262,
	E_ITEM_COAL = 263,
	E_ITEM_DIAMOND = 264,
	E_ITEM_IRON = 265,
	E_ITEM_GOLD = 266,

	E_ITEM_MUSHROOM_SOUP = 282,
	E_ITEM_GOLD_SWORD = 283,
	E_ITEM_GOLD_SHOVEL = 284,
	E_ITEM_GOLD_PICKAXE = 285,
	E_ITEM_GOLD_AXE = 286,
	E_ITEM_STRING = 287,
	E_ITEM_FEATHER = 288,

	E_ITEM_BREAD = 297,

	E_ITEM_RAW_MEAT = 319,
	E_ITEM_COOKED_MEAT = 320,

	E_ITEM_GOLDEN_APPLE = 322,
	E_ITEM_SIGN = 323,

	E_ITEM_REDSTONE_DUST = 331,

	E_ITEM_MILK = 335,

	E_ITEM_EGG = 344,
	E_ITEM_COMPASS = 345,
	E_ITEM_FISHING_ROD = 346,
	E_ITEM_CLOCK = 347,
	E_ITEM_GLOWSTONE_DUST = 348,
	E_ITEM_RAW_FISH = 349,
	E_ITEM_COOKED_FISH = 350,

	E_ITEM_CAKE = 354,
	E_ITEM_REDSTONE_REPEATER = 356,
};
//tolua_end