Random Chance
- Id:
moderner_beta:random_chance
- Added in: 3.0.0
The Random Chance biome predicate returns true if a X in Y chance occurs. X is the numerator and Y is the denominator. It makes use of the random seed from the layer that the predicate is used in.
Properties
numerator
- Type:
int
- Default:
1
- Description: The X in the X in Y chance. Increasing this results in linearly higher chances while setting it equal to or greater than the denominator makes the predicate always return true.
- Type:
denominator
- Type:
int
- Default: required
- Description: The Y in the X in Y chance. Increasing this results in lower chances while setting it equal to or less than the numerator makes the predicate always return true.
- Type: