Random Binomial
Provides an integer value randomly calculated with binomial distribution.
Type ID: kaya:random/binomial
Format
| Field | Type | Default | Description |
|---|---|---|---|
attempts |
Int Provider | The number of attempts. | |
probability |
Float Provider | The success probability for each trial. |
Example
This example will loop for $8$ times and will provide the count of how many times a random float is less than $0.5$.
History
| Minecraft | Mod | Changelog |
| 1.21.5 | 0.1.0 | Added the type. |