How to check if the player isn't in the chosen dimension?

Started by KoraKiwi 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 check if the player isn't in the chosen dimension?

So i've been trying to make that if you fall under y -50 you get teleported to the void, but the only issue is that it also works in it, so if you fall under -50 you also get teleported to the void, which basically softlocks you. And i can't figure out how to check if you aren't in the dimension.

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If: Not: (Id of Dimension…
Thu, 03/24/2022 - 22:45

If: Not: (Id of Dimension Event/Target/Entity is in) = Void)

Then: (your procedure here)