### Detry's LCG Data Pack

https://en.wikipedia.org/wiki/Linear_congruential_generator

This data pack generates a random number between -2147483648 and 2147483647
The value is stored at: `$rng_value drng_temp`

### HOW TO ADD YOUR OWN RANDOM NUMBER RANGE

You should add your own constants in `internal/load.mcfunction` in the designated area.
To add your own range, go to add `gen/mod_[number].mcfunction` with code similar to the examples I've provided.

### EXAMPLE

If you want to generate a random number between 0 and 15, you need to:

Go to `internal/load.mcfunction` and add:

```sh
execute unless score $16 drng_const matches 16 run scoreboard players set $16 drng_const 16
```

Then add `gen/mod_16.mcfunction` with this code:

```sh
function drng:internal/lcg
scoreboard players operation $rng_value drng_temp %= $16 drng_const
```
