Skip to content
Minecraft DataPack - Helps in the production of pseudo random numbers for other data packs or command blocks
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
README.md
pack.mcmeta

README.md

PseudoRNG helps in the production of random numbers for other data packs or command blocks.

To use, call to get the next pseudo random number.

function rng:get_next

RNG score is stored in "RNG PseudoRNG"

To get between a range of numbers, you have to the min and max first

scoreboard players set RangeInputLow PseudoRNG 0
scoreboard playres set RangeInputHigh PseudoRNG 101
function rng:get_next_range

Range score is stored in "RangeRNG PseudoRNG"

You can’t perform that action at this time.