bug with custom teleport

Started by Sertobul on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
bug with custom teleport

I am creating a mod about space and instead of a portal, I use a rocket entity.
I created a procedure that remembers the current coordinates of the player and saves them to an object and then when you move to a dimension holding this object in your hand, you should teleport to these coordinates.
but for some reason the player is still teleported to the spawn underground where I start to choke in blocks. WHYYY?
this is item that remembers current coordinates

this is what i need when i went to moon dimension

 

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
edit: not only coordinates…
Wed, 01/05/2022 - 20:01

edit: not only coordinates doesnt work, even effects...