I'm making a Minecraft map, and I want to run a commandif your score is below a certain number. However, the less than
< comparison doesn't seem to work.
How can I get this to work?
My current command is:
execute if score <player> mana < 200 mana run setblock 6582 74 -266 minecraft:air
For more information, I'm making a "mana" system where I have a hopper clock adding 1 mana each. When a certain player reaches 200 mana, a command sets a redstone block to stop the hopper clock.
It's all working fine, but the command to remove that block when there is less than 200 mana (to generate more via the hopper clock) doesn't seem to work.
I'm playing on Minecraft 1.16.