bug with custom teleport

Started by Sertobul on Wed, 01/05/2022 - 16:14

Topic category: Help with modding (Java Edition)

Last seen on 15:08, 2. Feb 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
bug with custom teleport
Wed, 01/05/2022 - 16:14

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

 

Last seen on 15:08, 2. Feb 2022
Joined Jul 2020
Points:

User statistics:

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

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