"Spawn Entity" procedure block Y coordinates not working properly

Started by Skart2000 on

Topic category: Troubleshooting, bugs, and solutions

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
"Spawn Entity" procedure block Y coordinates not working properly
Mon, 12/25/2023 - 21:06 (edited)

So I made a procedure that spawns an entity on a block in these coordinates: X+0.5, Y+0.5 and Z+0.5.
After porting my mod to 1.20.1 (Changing to the latest Mcreator snapshot, EAP 34614), the X and Z coordinates of the entity are correct but the Y coordinates don't work properly. After looking into it I realized that the Y axis only works with integer numbers, so decimal numbers don't work. As an example, Y+0.5 becomes 0, but 1 works just fine.

I don't know if this is Mcreator's or Minecraft's fault, but I desperately need a solution since this is a crucial part of my mod, please help

Edit: I found an alternative solution to my problem but this method is still broken

Edited by Skart2000 on Mon, 12/25/2023 - 21:06
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
the images aret loading. it…
Sun, 12/24/2023 - 21:54

the images aret loading. it says: "Image not found"