How to Change dimension when player joins the world for the first time

Started by Welshy on

Topic category: Help with modding (Java Edition)

Last seen on 15:53, 2. May 2023
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to Change dimension when player joins the world for the first time

Im making a mod that uses a different dimension, and i want to make it so that when you first join the world it switches to that dimension, but if you join the world for a second time it doesn't switch to that dimension

Last seen on 17:59, 7. Jan 2024
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
create a player_persistant…
Sun, 04/24/2022 - 18:02

create a player_persistant global value with inital value set to true. if the player joins, set this to false and send to the appropriate dimension