from mcpi.minecraft import Minecraft from time import sleep from random import randint from minecraftstuff import MinecraftDrawing print("hi ok") mc = Minecraft.create() md = MinecraftDrawing(mc) x, y, z = mc.player.getTilePos() sleep(5) #md.drawHollowSphere(x,y,z,10,24) md.drawSphere(x, y, z, 10, 0) md.drawHollowSphere(x, y + 20, z, 10, 24)
from mcpi.minecraft import Minecraft from time import sleep from random import randint from minecraftstuff import MinecraftDrawing print("hi ok") mc = Minecraft.create() md = MinecraftDrawing(mc) while True: x, y, z = mc.player.getTilePos() blocks = mc.events.pollBlockHits() for block in blocks: bx, by, bz = block.pos x, y, z = mc.player.getTilePos() sleep(5) md.drawHollowSphere(x, y, z, 8, 166) md.drawHollowSphere(x, y, z, 9, 10) md.drawHollowSphere(x, y, z, 10, 166)
from mcpi.minecraft import Minecraft from time import sleep from random import randint from minecraftstuff import MinecraftDrawing print("hi ok") mc = Minecraft.create() md = MinecraftDrawing(mc) x, y, z = mc.player.getTilePos() sleep(5) h = randint(1, 258) md.drawHollowSphere(x, y, z, 10, 80) md.drawHollowSphere(x, y + 12, z, 8, 80) md.drawHollowSphere(x, y + 22, z, 7, 80) #mc.setBlocks(x,y+2,z,x+10,y+2,z+10,86) md.drawHollowSphere(x, y + 22, z, 6, h)
from mcpi.minecraft import Minecraft from time import sleep from random import randint from minecraftstuff import MinecraftDrawing print("hi ok") mc = Minecraft.create() md = MinecraftDrawing(mc) x, y, z = mc.player.getTilePos() sleep(10) for efsgt in range(5): xw = randint(0, 250) wx = randint(0, 250) rz = randint(0, 50) rx = randint(0, 50) h = mc.getHeight(rx, rz) md.drawHollowSphere(rx, h + 4, rz, 3, wx) mc.setBlocks(rx, h, rz, rx, h + 4, rz, xw) mc.postToChat(rx) mc.postToChat(rz) mc.player.setPos(rx + 2, h, rz) mc.postToChat('tfhfhrrfhf')
from mcpi.minecraft import Minecraft from time import sleep from random import randint from minecraftstuff import MinecraftDrawing print("hi ok") mc = Minecraft.create() md = MinecraftDrawing(mc) while True: x, y, z = mc.player.getTilePos() blocks = mc.events.pollBlockHits() for block in blocks: bx, by, bz = block.pos x, y, z = mc.player.getTilePos() sleep(5) md.drawHorizontalCircle(x, y, z, 10, 21) md.drawCircle(x, y, z, 10, 21) md.drawHollowSphere(x, y, z, 9, 20)