Advertisement
Guest User

.

a guest
Sep 25th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. from mcpi.minecraft import Minecraft
  2. mc = Minecraft.create
  3.  
  4. position = mc.player.getTilePos()
  5. x = position.x
  6. y = position.y
  7. z = position.z
  8.  
  9. mc.player.setTilePos(x, y, z)
  10.  
  11. # Errror
  12. # AttributeError: 'function' object has no attribute 'player'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement