How to get the number back for Entity

Started by BlackAnd on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to get the number back for Entity

I'm making a mob that can stop at the number 1 and walk at the number 0. I would like the number 0 to return at the second click of the player.

procedure picture

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make it so when you right…
Thu, 08/14/2025 - 14:10

Make it so when you right click it checks for value 1 and 0 if value 1 then call procedure what you want it to do, then set it to 0 and if 0 call procedure what you want it to do, then set it to 1