I'm proposing the addition of ranges (ie 1..5 for numbers between 1 and 5) to be used in the /scoreboard command. For example, /scoreboard players set @s test 1..5 would set my "test" score to a number between 1 and 5.
This would be super useful to players wishing to deal with random numbers. The current method is weird, and hard to understand for new people who want to make datapacks.
Gone would be the days of using a loot table to generate a random amount of items, then storing the number of items in a scoreboard!
This would apply to
/scoreboard players set
/scoreboard players add
Please sign in to leave a comment.