Minecraft:Vegetation
More actions
Template:ConfuseTemplate:UpdateTemplate:Infobox structure
Vegetations are Minecraft:features composed of plants including Minecraft:grass, Minecraft:ferns, Minecraft:flowers, and Minecraft:mushrooms in the Overworld and the Nether.
Generation
Vegetation generates a semi-random amount of certain blocks in a small area. Vegetation can only generate on blocks that are supported by the consisting blocks; e.g. short grass can only be placed on Minecraft:dirt and variants. However, some plants of a vegetation feature can generate on blocks that are only supported by some plants, namely Minecraft:sand and Minecraft:gravel.
Most of these features can only generate on the surface, rarely leaking into caves. A few like Minecraft:sugar cane can only generate bordering water, and some can generate anywhere exposed to air.
Types
Grass
Note that tall grass and grass can also be generated in flower patches in meadow, see #Flowers.
Flowers
Underground
Others
Small mushrooms
| Biomes | Blocks | Template:JE configured feature identifier | Template:BE feature identifier |
|---|---|---|---|
| Any Overword and Nether biome |
Template:Cd |
The Nether
|
For the {{{Description}}} of the same name, see [[{{{Destination}}}]]. |
| Biomes | Blocks | Template:JE configured feature identifier | Template:BE feature identifier |
|---|---|---|---|
| Template:BiomeLink Template:BiomeLink Template:BiomeLink |
Template:BlockLink | Template:Cd | Template:Cd Template:Cd |
Data values
ID
Template:El: Template:ID table Template:ID table Template:ID table
Config
<section begin="config" />
- Template:Nbt
- Template:Nbt: (optional, defaults to 128) The number of attempts to generate. Must be a positive integer.
- Template:Nbt: (optional, defaults to 7) The horizontal spread range. Must be a non-negative integer.
- Template:Nbt: (optional, defaults to 3) The vertical spread range. Must be a non-negative integer.
- Template:NbtTemplate:Nbt: Template:Json ref — The placed feature that this patch generates.
<section end="config" />
Template:Collapse <syntaxhighlight lang="json"> {
"type": "minecraft:random_patch",
"config": {
"feature": {
"feature": {
"type": "minecraft:simple_block",
"config": {
"to_place": {
"type": "minecraft:simple_state_provider",
"state": {
"Name": "minecraft:lily_pad"
}
}
}
},
"placement": [
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:matching_blocks",
"blocks": "minecraft:air"
}
}
]
},
"tries": 10,
"xz_spread": 7,
"y_spread": 3
}
} </syntaxhighlight> Template:Collapse
History
Development
Java Edition
Bedrock Edition
Legacy Console Edition
Issues
Template:Navbox generated features
Minecraft:fr:Végétation Minecraft:ja:ランダム群生体 Minecraft:pt:Vegetação Minecraft:zh:随机斑块