Need help with doing things on first dimension join

Started by GunGuy on

Topic category: Help with modding (Java Edition)

Last seen on 16:28, 26. Sep 2023
Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Need help with doing things on first dimension join
Thu, 07/02/2020 - 17:25 (edited)

 

Hi, I need help...

I want to do something that if the player enters a dimension FIRST TIME it would generate code: it would make a scoreboard and add 1 to the scoreboard every time someone (player) would get inside the dimension.

can someone help me? 

P.S

how do I know the dimension ID I can't find it anywhere (in the codes).

Thanks!

Edited by GunGuy on Thu, 07/02/2020 - 17:25
Last seen on 00:03, 27. May 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What i did to get the…
Sun, 07/05/2020 - 01:07

What i did to get the dimension ID is when i left click block send msg get dimension ID of provided world.

that part was simple.

I did this for you and what i got is, The Nether is -1 The normal world is 0,The end is 1.

Last seen on 16:28, 26. Sep 2023
Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thanks!  
Sun, 07/05/2020 - 18:15

thanks!