How to generate a random number between 1 and 100

I need a way to simply generate a number between 1 and 100 so I don’t have to make 100 predicates for a dynamic percent chance. This isn’t the latest snapshot so /roll doesn’t exist yet and the common loot table method breaks on servers.

Continue to help post