- check_circle Functions
Published Jun 12th, 2023, 6/12/23 3:04 am
- 726 views, 1 today
- 34 downloads, 0 today
0
This datapack implements random number generator functions to get numbers from easily customizable ranges (customizable inside the datapack). (has examples inside as well)
TO USE:
function rng:rng/0to8
execute if score RNG rng_global matches 0..2 run # your function
I made this datapack since i couldn't find a good datapack anywhere else for this, although natural_power did come close but made biased rng.
My performance is actually good unlike the bad ones, that just crash my game when i run it 65,536 times.
Mine takes about half a second to run it 65,536 times.
TO USE:
function rng:rng/0to8
execute if score RNG rng_global matches 0..2 run # your function
I made this datapack since i couldn't find a good datapack anywhere else for this, although natural_power did come close but made biased rng.
My performance is actually good unlike the bad ones, that just crash my game when i run it 65,536 times.
Mine takes about half a second to run it 65,536 times.
Compatibility | Minecraft 1.20 |
Tags |
5968892
119
Create an account or sign in to comment.