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,14 @@
from mcpi.minecraft import Minecraft
mc = Minecraft.create()
import time
block = int(input("Введите ID блока, в который превратятся ударённые вами блоки(103-арбуз, 57-алмаз и т.д.) "))
time.sleep(10)
hits = mc.events.pollBlockHits()
for hit in hits:
x, y, z = hit.pos.x, hit.pos.y, hit.pos.z
mc.setBlock(x, y, z, block)