Initial commit

This commit is contained in:
BarsTigerMeowcat
2020-01-26 12:49:01 +02:00
commit 8bed7171c2
125 changed files with 3212 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
from mcpi.minecraft import Minecraft
mc = Minecraft.create()
position = mc.player.getTilePos()
x = position.x
y = position.y
z = position.z
highestBlockY = mc.getHeight(x, z)
aboveGround = y >= highestBlockY
print("highestBlock: " + str(highestBlockY) + " y:" + str(y))
mc.postToChat("Igrok nad zemloy? " + str(aboveGround))