Dimension detector.

Started by Lynelox322 on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 years ago
Joined Feb 2020
Points:
626

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 11
Dimension detector.

Is there a way to detect the dimension where we are? I have been looking for a long time but I can't.

Active 3 years ago
Joined Jan 2020
Points:
767

User statistics:

  • Modifications: 1
  • Forum topics: 21
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 80
Personally, I do this using…
Thu, 04/02/2020 - 13:59

Personally, I do this using a global variable and the event "entity travels to a dimension". Then on that happening, set the global variable with a text tag which can be anything you want.

If you start in the overworld, just prepopulate the global tag with "Overworld" or whatever.