Started by
Matt The Banana
on
Topic category: Help with Minecraft modding (Java Edition)
I have some code in MCreator, but MCreator keeps setting my variable to zero each time that it calls this event, so it continuously sets it to one. How do I make it so that the variable is only set to 0 the first time.
Edited by Matt The Banana on Mon, 03/02/2020 - 00:43
Local variable only exists one execution. You will need global variable or NBT tags. Check this: https://mcreator.net/wiki/variables