Initial commit
This commit is contained in:
9
BookCraigRichardson/math/blockBelow.py
Normal file
9
BookCraigRichardson/math/blockBelow.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from mcpi.minecraft import Minecraft
|
||||
mc = Minecraft.create()
|
||||
position = mc.player.getTilePos()
|
||||
x = position.x
|
||||
y = position.y
|
||||
z = position.z
|
||||
blockType = 10
|
||||
y = y - 1
|
||||
mc.setBlock(x, y ,z, blockType)
|
||||
Reference in New Issue
Block a user