The Y coordinate listed below teleports you to double what it’s supposed to ingame. It is supposed to teleport you to 0, 62, 0, but it teleports you to 0, 124, 0 Answer Per comments on the documentation for mcpi, it would appear that the coordinates are relative to the world spawn: getPos, getTilePos, setPos and setTilePos all appear to
Tag: minecraft
Timer preventing program from exiting
I’m writing a program which allows me to control a vanilla Minecraft server using python. The first thing I wanted to make is a auto-restart feature. Everything works fine except that I cannot do sys.exit() or similar things, I’m not sure but I think this is because of the Timer. I tried t.cancel() but t is a local variable so