Issue with persistent variables linked to a block

Started by Eggysandwiches on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 year ago
Joined Nov 2021
Points:
530

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
Issue with persistent variables linked to a block

I have a block that when placed continually decreases a number stored in a local variable until the block is broken. How can I access this variable from another procedure? If I call the procedure for a return value then it will reset which I do not want.