OnPlayerTick procedure's xyz is inaccurate?

Started by Zenuvius on

Topic category: Help with MCreator software

Active 5 years ago
Joined Mar 2020
Points:
624

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
OnPlayerTick procedure's xyz is inaccurate?

OnPlayerTickUpdate put a block at xyz.

In the player tick update, I had a check for a block type on xyz and when the results was inconsistent, I removed the code and added this instead, placing a block at xyz ( I tried both dependancies parameters xyz and entity positions xyz, both of them returns an inconsistent position that is not positioned at the player's position.

 

They either place it (-1,0,0) or (-1,0,1), is there something I'm misunderstanding about this or is this a bug with the xyz parameters with on player tick update?