Started by
SHB_YT
on
Topic category: Help with Minecraft modding (Java Edition)
Why is this impossible to do.
Like I know MCreator is for basic programming but jesus. Can't even increment a number every tick. Wow.
I'm not wrong in saying that to do this you would set a variable to itself plus 1? So that each time it's called it sets itself to a value of itself plus 1?
Like how you would increment a variable in any programming language ever.
Come on MCreator, sort yourself out.
Local variables only exist within the procedure, and for as long as the procedure is being executed. If you had some code like this
you wouldn't expect the variable x to reach 8.
Have you considered storing the variable somewhere out of the procedure (ex. scoreboard, block nbt)? I'm positive this has already been covered by other topics.