martinohanlon / mcpi

Minecraft: Pi Edition API Python Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

position issue

LinsenHou opened this issue · comments

I got the player postion through mc.player.getTilePos() ,then I press the F3 to check the postion, I found they are different, Why does this happen ? I suppose they should be the same. Pls help on this. Thanks a lot.
image

This is by design as locations are relative to the spawn point, this is to emulate the original behaviour of the API created for the Raspberry Pi.

You can change this to use absolute positions in the config.yml of the RaspberryJuice plugin. https://github.com/zhuowei/RaspberryJuice#config