dimensional relocation

Started by ThorPDough on Tue, 08/11/2020 - 12:45

Topic category: Help with modding (Java Edition)

Last seen on 13:16, 12. Jun 2021
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
dimensional relocation
Tue, 08/11/2020 - 12:45

I have made a armor that when the key C is pressed teleports you to the nether. This works, however I always end up in the worldspawn position when traveling from and to the nether. Is there a way to teleport the player to the same spot in the nether as in the overworld ( e.g. overworld coordinates are 16 50 32 then the nether coordinates be 2 50 4)

Get player location, save in…
Tue, 08/11/2020 - 17:06

Get player location, save in local variables, switch dimension, teleport to this location.

Last seen on 13:16, 12. Jun 2021
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thank you very much!
Tue, 08/11/2020 - 18:32

Thank you very much!