-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblocks.py
112 lines (105 loc) · 1.89 KB
/
blocks.py
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
# A bunch of constants that represent blocks.
#
# Use like this:
#
# import blocks
# mc.setBlock(0,0,0, blocks.sticky_piston_south)
#
# Or like this:
# from blocks import *
# mc.setBlock(0,0,0, sticky_piston_south)
#
# For documentation on mcpi, see:
# https://www.stuffaboutcode.com/p/minecraft-api-reference.html
# This list isn't complete. You might prefer the one that's in mcpi already.
air=0
stone=1
grass=2
dirt=3
wood_planks=5
water=8
water_stationary=9
lava=10
wood_oak=17
wood_spruce=(17,1)
wood_birch=(17,2)
wood_jungle=(17,3)
lava_stationary=11
glass=20
wool=35
wool_white=wool
wool_orange=(35,1)
wool_magenta=(35,2)
wool_light_blue=(35,3)
wool_yellow=(35,4)
wool_lime=(35,5)
wool_pink=(35,6)
wool_gray=(35,7)
wool_light_gray=(35,8)
wool_cyan=(35,9)
wool_purple=(35,10)
wool_blue=(35,11)
wool_brown=(35,12)
wool_green=(35,13)
wool_red=(35,14)
wool_black=(35,14)
sandstone=24
gold=41
smooth_stone_slab=43
smooth_quartz_slab=(43,7)
wooden_slab=(44,2)
tnt=46
tnt_exploding=(46,1)
bookshelf=47
moss_stone=48
obsidian=49
torch=50
torch_up=(50,5)
torch_south=(50,4)
torch_north=(50,3)
torch_west=(50,2)
torch_east=(50,1)
fire=51
chest=54
diamond_block=57
wheat_crops=59
ladder=65
snow=78
ice=79
snow_block=80
jukebox=84
cake_block=92
stone_brick=98
nether_brick=112
emerald_block=133
beacon=138
door_spruce=427
door_acacie=430
piston_down=(33,0)
piston_up=(33,1)
piston_z=(33,2)
piston_south=(33,2)
piston_neg_z=(33,3)
piston_north=(33,3)
piston_neg_x=(33,4)
piston_west=(33,4)
piston_x=(33,5)
piston_east=(33,5)
sticky_piston_down=(29,0)
sticky_piston_up=(29,1)
sticky_piston_z=(29,2)
sticky_piston_south=(29,2)
sticky_piston_neg_z=(29,3)
sticky_piston_north=(29,3)
sticky_piston_neg_x=(29,4)
sticky_piston_west=(29,4)
sticky_piston_x=(29,5)
sticky_piston_east=(29,5)
redstone_torch_vertical=(76,5)
redstone_dust=55
redstone_block=152
lever_floor=(69,6)
level_floor_EW=(69,6)
level_floor_NS=(69,5)
glowstone = 89
end_rod = 198