Bookshelf
Bookshelf copied to clipboard
`bs.random`: Monte Carlo algorithms for random generation in distribution
Implement the monte-carlo algorithm in order to generate random number according to a given distribution.
Note
Existing related datapack: https://github.com/Aeldrion/Minecraft-Random
I'm working on this issue
- [x] Uniform distribution
- [x] Binomial distribution
- [x] Geometric distribution
- [x] Poisson distribution
- [x] Random choice (with selectable distribution)