How do I call a procedure and keep a variable

Started by StepikDaModder on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I call a procedure and keep a variable

Hello, is there a way to call another procedure but still keep the calling procedure's variables? I really need this.
Thanks in advance.

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I need it to test a slot and…
Mon, 02/17/2025 - 21:25

I need it to test a slot and return the value if it is valid or not, and I need the slot id to get to it.