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

Minecraft:Simple Random Selector: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Sync: new page from Minecraft
Tag: New redirect
 
SyncBot (talk | contribs)
Sync: updated from Minecraft
Tag: Removed redirect
 
Line 1: Line 1:
#REDIRECT [[Minecraft:Simple random selector]]
{{Exclusive|java}}
{{Redr|cap}}
'''Simple random selector''' is a technical [[Minecraft:feature]] that randomly chooses a feature from a list with each having an equal chance.
 
== Data values ==
=== ID ===
{{ID table
|firstcolumnname=Feature type
|displayname=[No displayed name]
|nameid=simple_random_selector
|foot=1
}}
 
=== Config ===
{{main|Configured feature}}
<section begin="config"/><div class="treeview">
* {{nbt|compound|config}}
** {{nbt|string}}{{nbt|compound}}{{nbt|list|features}}: {{json ref|placed feature|tag=1|inline=1}}; Cannot be empty &mdash; Features to choose from.
</div><section end="config"/>
 
{{Collapse|title=An example|outerstyle=margin: 0.5rem 0|head=1}}
<syntaxhighlight lang="json">
{
  "type": "minecraft:simple_random_selector",
  "config": {
    "features": [
      {
        "feature": {
          "type": "minecraft:coral_tree",
          "config": {}
        },
        "placement": []
      },
      {
        "feature": {
          "type": "minecraft:coral_claw",
          "config": {}
        },
        "placement": []
      },
      {
        "feature": {
          "type": "minecraft:coral_mushroom",
          "config": {}
        },
        "placement": []
      }
    ]
  }
}
</syntaxhighlight>
{{Collapse|tail=1}}
 
== Navigation ==
{{Navbox generated features}}
 
[[Minecraft:fr:Sélecteur aléatoire simple]]
[[Minecraft:pt:Seletor aleatório simples]]

Latest revision as of 11:12, 1 August 2026

Template:Exclusive Simple random selector is a technical Minecraft:feature that randomly chooses a feature from a list with each having an equal chance.

Data values

ID

Template:ID table

Config

Template:Main

<section begin="config"/>

<section end="config"/>

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

 "type": "minecraft:simple_random_selector",
 "config": {
   "features": [
     {
       "feature": {
         "type": "minecraft:coral_tree",
         "config": {}
       },
       "placement": []
     },
     {
       "feature": {
         "type": "minecraft:coral_claw",
         "config": {}
       },
       "placement": []
     },
     {
       "feature": {
         "type": "minecraft:coral_mushroom",
         "config": {}
       },
       "placement": []
     }
   ]
 }

} </syntaxhighlight> Template:Collapse

Navigation

Template:Navbox generated features

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

Contents