OnPlayerTick procedure's xyz is inaccurate?

Started by Zenuvius on

Topic category: Help with MCreator software

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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?