Dimension detector.

Started by Lynelox322 on

Topic category: Help with modding (Java Edition)

Last seen on 16:46, 10. Nov 2020
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.

Last seen on 17:02, 24. Jan 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.