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

Minecraft:Vegetation Patch

From SAS Gaming Wiki

Template:Distinguish Template:Infobox structure

Vegetation patch is a Minecraft:feature that places some vegetation in the Minecraft:lush caves biome.

Data values

ID

Template:El: Template:ID table Template:ID table

Template:ID table Template:ID table Template:ID table Template:ID table

Template:El: Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table

Config

Template:Main Template:El:

Vegetation patch is placed in columns, one column for each XZ position, placed separately. Rectangle of available XZ positions is defined by Template:NbtTemplate:Nbt. For each XZ position feature starts searching for Template:Nbt blocks either up or down for closest available position, starting from Y, where feature has been placed. It can fail to generate only if all columns fail to generate.

Depending on Template:Nbt feature will change direction of its search and available position:

  • floor - available position is air 1 block above the block from Template:Nbt tag. If search starts in air, feature will search down, otherwise - up.
  • ceiling - available position is air 1 block below the block from Template:Nbt tag. If search starts in air, feature will search up, otherwise - down.

After search is completed and available position is found, column of blocks is placed. It replaces blocks from Template:Nbt tag for either amount of blocks set in Template:NbtTemplate:Nbt or until the first instance of non replacable, or same block, that is chosen by Template:Nbt (state of block is ignored).

After that feature, defined in Template:NbtTemplate:Nbt is generated on the found available position.

<section begin="config"/>

<section end="config"/>

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

 "type": "minecraft:vegetation_patch",
 "config": {
   "depth": 1,
   "extra_bottom_block_chance": 0.0,
   "extra_edge_column_chance": 0.3,
   "ground_state": {
     "type": "minecraft:simple_state_provider",
     "state": {
       "Name": "minecraft:moss_block"
     }
   },
   "replaceable": "#minecraft:moss_replaceable",
   "surface": "floor",
   "vegetation_chance": 0.8,
   "vegetation_feature": {
     "feature": "minecraft:moss_vegetation",
     "placement": []
   },
   "vertical_range": 5,
   "xz_radius": {
     "type": "minecraft:uniform",
     "value": {
       "max_inclusive": 7,
       "min_inclusive": 4
     }
   }
 }

} </syntaxhighlight> Template:Collapse

History

Template:Empty section Template:HistoryTable

Issues

Template:Issue list

Navigation

Template:Navbox generated features

Minecraft:fr:Parcelle de végétation Minecraft:ja:繁茂した粘土池 Minecraft:lzh:埴鱗 Minecraft:pt:Mancha de vegetação Minecraft:zh:多叶黏土层