Why is my teleport function making my entity teleport 2 blocks underground?

Started by thephatpugs on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Why is my teleport function making my entity teleport 2 blocks underground?

the +2 on the y axis is to compensate for the current issue, but I don't understand why it does that in the first place. Does anyone know?