ban on teleportation to the world

Started by Heroi4k on

Topic category: Help with modding (Java Edition)

Last seen on 17:36, 23. Feb 2024
Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ban on teleportation to the world

Hi all! Is it possible to make sure that when an entity tries to teleport to another world, it does not teleport?

Last seen on 14:53, 18. Feb 2024
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
By world do you mean…
Sun, 12/03/2023 - 20:48

By world do you mean dimension? Because if so, you can check if the player is not in the overworld, and if they aren't, teleport them back.