Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vec3 returns wrong coordinate #6

Open
Etorren opened this issue Oct 30, 2019 · 2 comments
Open

vec3 returns wrong coordinate #6

Etorren opened this issue Oct 30, 2019 · 2 comments

Comments

@Etorren
Copy link

Etorren commented Oct 30, 2019

Hi,
I a newbie.
I am following your guides through youtube.
whenever I run .getTilePos() function the vec3 values are different than the actual tile value showing on the screen when I press the F3. Am I missing a point here or this might be a bug.

@icezyclon
Copy link

Hi,
could this be the case for you?

By default, raspberry juice uses a relative coordinate system while the F3 coordinates are absolute.
You can change this in the config.yml file 👍

@Naohiro2g
Copy link
Contributor

Hmmm, there is no such switch in the config.yml file and no corresponding method found in the entire code of current or even in git archive. RaspberryJuice repo has it, though. https://github.com/Marcinosoft/RaspberryJuice/blob/master/src/main/resources/config.yml

So, it's always relative to the world spawn location for JuicyRaspberryPie.

Now, you can make it absolute by the Minecraft command "/setworldspawn 0 0 0".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants