(fixed?) How can I make a procedure happen when you leave the end

Started by a guy called l… on

Topic category: Help with modding (Java Edition)

Last seen on 23:35, 30. Oct 2023
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(fixed?) How can I make a procedure happen when you leave the end
Thu, 11/18/2021 - 15:56 (edited)

The title say all, how I can do that?

Edited by a guy called lonchor12 on Thu, 11/18/2021 - 15:56
Last seen on 23:35, 30. Oct 2023
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think maybe I got the…
Thu, 11/18/2021 - 15:55

I think maybe I got the solution

Make 2 variables, one that set itself to the dimension the player Is every tick, and other that change when the

Variable 1 ≠ get dimension of the player

I think this will work, I can make the procedure that I want to run when you leave the end happen when the variable 2 = end, and set variable 2 to NONE when the procedure end