How do I trigger a procedure once player reaches a certain height? [Solved]

Started by @-Cloud'''Star… on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I trigger a procedure once player reaches a certain height? [Solved]
Mon, 04/10/2023 - 18:57 (edited)

I want to make a mod where you can teleport to the void, but I already can't figure out how to fire a trigger this way.

Edited by @-Cloud'''Star'''Sky-@ on Mon, 04/10/2023 - 18:57
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use the global trigger(top…
Mon, 04/10/2023 - 17:12

Use the global trigger(top green block) On player tick update

And an if block with the condition "is Y < -64" or whatever Y(height) level you want.

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
your welcome
Mon, 04/10/2023 - 18:46

your welcome

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
also what about the reverse…
Wed, 07/05/2023 - 10:52

also what about the reverse so like entering is "if player is at Y -70 AND in surface dimension = enter megacaves" and reverse is "if player is at Y 256 AND in Megacaves dimension = enter surface" then what are the procedures?