In Minecraft, I want a command to execute when a score is changed.
For example, I have a scoreholder named cameraactive
on an objective named Debug
. I want a command to run when this score becomes 1.
I know that Minecraft Java 1.13+ has this command:
execute if score Cameraactive Debug matches 1 run say hi
Is there a way to mimic this in 1.12.2? I'm using several mods that don't support 1.13 and above and I don't have the option to upgrade versions.