Guest User

Untitled

a guest
Dec 15th, 2019
89
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from mcpi.minecraft import Minecraft
  2. import time
  3. mc = Minecraft.create()
  4.  
  5. time.sleep(2)
  6. lista = []
  7. licznik = 0
  8. while licznik < 10:
  9. licznik = licznik + 0.05
  10. lista.append(mc.player.getPos())
  11. time.sleep(0.05)
  12.  
  13. licznik = 0
  14. index = 0
  15. dlugosc = len(lista)
  16. while licznik < 10:
  17. licznik = licznik + 0.05
  18. mc.player.setTilePos(lista[dlugosc - index -1])
  19. index = index + 1
  20. time.sleep(0.05)
RAW Paste Data