Hardware Reference
In-Depth Information
Table 7-1 Materials in Minecraft: Pi Edition
blockTypeId
Block Type
0
Air
1
Stone
2
Grass
3
Dirt
5
Wooden plank
8
Water
10
Lava
12
Sand
20
Glass brick
24
Sandstone
41
Gold brick
45
Brick
47
Bookshelf
53
Wooden stairs
57
Diamond block
64
Wooden door
81
Cactus
If you use the water and lava blocks, you could lood your world, so create a new world to
experiment with.
here is another command you can use to create a large cuboid shape built of blocks of the
same material. To use it, you provide the coordinates of two opposite corners, and the mate-
rial you'd like to ill the space with, like this:
mc.setBlocks(x1, y1, z1, x2, y2, z2, blockTypeId)
You can quickly build a brick shelter by making a large cuboid of brick, and then putting a
cuboid of air inside it. Air replaces any other block, efectively deleting it from the world.
Here's an example:
mc.setBlocks(0, 0, 0, 10, 5, 7, 45) #brick
mc.setBlocks(1, 0, 1, 9, 5, 6, 0) #air
Search WWH ::




Custom Search