Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Random Selector

From SAS Gaming Wiki
Revision as of 11:15, 5 October 2026 by SyncBot (talk | contribs) (Sync: new page from Minecraft)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Exclusive

Random selector is a technical Minecraft:feature that randomly chooses a feature from a list with chances.

Data values

ID

Template:ID table

Config

Template:Main

<section begin="config"/>

The defined features can either reference a placed feature directly, or can reference a configured feature by nesting another "feature" node within. For more information, see this page on the two allowed types of feature definitions.

<section end="config"/>

Template:Collapse <syntaxhighlight lang="json"> {

 "type": "minecraft:random_selector",
 "config": {
   "default": {
     "feature": "minecraft:patch_grass_jungle",
     "placement": []
   },
   "features": [
     {
       "chance": 0.05,
       "feature": "minecraft:fancy_oak_checked"
     },
     {
       "chance": 0.15,
       "feature": "minecraft:jungle_bush"
     },
     {
       "chance": 0.7,
       "feature": "minecraft:mega_jungle_tree_checked"
     }
   ]
 }

} </syntaxhighlight> Template:Collapse

Navigation

Template:Navbox generated features

Minecraft:fr:Sélecteur aléatoire Minecraft:pt:Seletor aleatório

Contents