When working with scoreboards I often need to have other commands to establish a minimum and maximum value for the scoreboard by setting it back to a previous value when it goes past the desired min/max value. It would be much more convenient and easier if I could set a minimum and maximum value when I make the scoreboard itself. The command could be like this:
Bedrock Edition:
/scoreboard objectives add <objective> dummy [displayName] [minValue] [maxValue]
Java Edition:
/scoreboard objectives add <objective> <criteria> [displayName] [minValue] [maxValue]
You could even include a section that sets whether or not the scoreboard should stop when it reaches the minimum/maximum value or if it is allowed to go back to the maximum/minimum value. Like this:
Bedrock Edition:
/scoreboard objectives add <objective> dummy [displayName] [minValue] [maxValue] [overflowAllowed:Boolean]
(Basically the same for Java but “<criteria>” instead of “dummy” because yeah parity issues)
The Overflow Allowed thing would probably be set to false by default (so it stops at the min/max values). This is just adding a few more options to the already existing scoreboard command, it would be a really nice and convenient addition.
Please sign in to leave a comment.
4 Comments