Random Boolean Selector

Minecraft Wiki article. Categories: Java_Edition, Generated_features

📌 Mirrored from Minecraft Wiki

This article is reproduced from Random Boolean Selector on the Minecraft Wiki. Mirrored from revision 3642472. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.

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 typeIdentifier
[No displayed name]random_boolean_selector

Config

  • [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)

Sources