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,20 @@
from mcpi.minecraft import Minecraft
mc = Minecraft.create()
import time
blocks = []
while True:
hits = mc.events.pollBlockHits()
if len(hits) > 0:
hit = hits[0]
hitX, hitY, hitZ = hit.pos.x, hit.pos.y, hit.pos.z
block = mc.getBlock(hitX, hitY, hitZ)
blocks.append(block)
if "56" in blocks:
mc.postToChat("Pssss, beri rudu bistree!")
time.sleep(0.2)
break