Questions about how minecraft's coordinates system works

Started by Planqqc on

Topic category: Help with Minecraft modding (Java Edition)

Active 6 months ago
Joined Dec 2022
Points:
333

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 4
Questions about how minecraft's coordinates system works

In minecraft, are the axis of the player and other mobs handled independently to that of the world?

 

A better summation of what I mean

I want to spawn particles to the player's left. In case one where the coordinates are rendered separately to the world. I could tell the game to spawn particles along the -z axis 

and then the particles would always spawn to the left of the player at the set distance of the z axis.

 

In the second case where the player coordinates are not handled separately  would I have to do some math to locate what is the player's left and then spawn the particle at that point?

 

Tldr : 

When I give coordinates relative to an entity. do they take into account the entity's X, Y, Z, Axis or is it handled via the World's X, Y, Z, Axis?

Active 1 year ago
Joined Nov 2020
Points:
811

User statistics:

  • Modifications: 1
  • Forum topics: 25
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 154
There is vector procedures…
Fri, 04/07/2023 - 09:26

There is vector procedures plugin with option to rotate vector so you dont have to play with trigonometry to make it work

Active 6 months ago
Joined Dec 2022
Points:
333

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 4
thank you I despise…
Tue, 04/25/2023 - 12:51

thank you I despise trigonometry