Random boolean selector
This feature is exclusive to Java Edition.
Random boolean selector is a technical feature that randomly chooses between two features with equal probability.
Data values
ID
| Feature type | Identifier |
|---|---|
| [No displayed name] | random_boolean_selector |
Config
Main article: Configured feature
- [NBT Compound / JSON Object] config
- [String][NBT Compound / JSON Object] feature_false: One placed feature (an [String] ID, or a new [NBT Compound / JSON Object] placed feature definition)
- [String][NBT Compound / JSON Object] feature_true: One placed feature (an [String] ID, or a new [NBT Compound / JSON Object] placed feature definition)
An example
{
"type": "minecraft:random_boolean_selector",
"config": {
"feature_false": {
"feature": "minecraft:clay_pool_with_dripleaves",
"placement": []
},
"feature_true": {
"feature": "minecraft:clay_with_dripleaves",
"placement": []
}
}
}
| |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||