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

Started by Welshy on

Topic category: Help with Minecraft modding (Java Edition)

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

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