Dimension detector.

Started by Lynelox322 on Wed, 04/01/2020 - 13:17

Topic category: Help with modding

Last seen on 10:23, 19. May 2020
Joined Feb 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Dimension detector.
Wed, 04/01/2020 - 13:17

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 20:48, 13. May 2020
Joined Jan 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.