Wiki ArticleArticles with empty sectionsGenerated features

Vegetation Patch

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

Vegetation patch is placed in columns, one column for each XZ position, placed separately. Rectangle of available XZ positions is defined by [Int][NBT Compound / JSON Object] xz_radius. For each XZ position feature starts searching for [Int] vertical_range 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 [String] surface feature will change direction of its search and available position:

Not to be confused with Vegetation.
Vegetation Patch
Underground vegetation ground.png: Infobox image for Minecraft structure 'Vegetation Patch'

Ground vegetation

Underground vegetation ceiling.png: Infobox image for Minecraft structure 'Vegetation Patch'

Ceiling vegetation

Biomes
Generates in
existing chunks  
Yes
Consists of

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

Data values

ID

Java Edition:

Feature typeIdentifier
[No displayed name]vegetation_patch
[No displayed name]waterlogged_vegetation_patch
Configured featureIdentifier
BlockSprite clay.png: Sprite image for clay in Minecraft [No displayed name]clay_with_dripleaves
BlockSprite moss-block.png: Sprite image for moss-block in Minecraft [No displayed name]moss_patch
BlockSprite moss-block.png: Sprite image for moss-block in Minecraft [No displayed name]moss_patch_bonemeal
BlockSprite moss-block.png: Sprite image for moss-block in Minecraft [No displayed name]moss_patch_ceiling

Bedrock Edition:

FeatureIdentifier
BlockSprite clay.png: Sprite image for clay in Minecraft [No displayed name]clay_with_dripleaves_feature
BlockSprite moss-block.png: Sprite image for moss-block in Minecraft [No displayed name]moss_patch_feature
BlockSprite moss-block.png: Sprite image for moss-block in Minecraft [No displayed name]moss_patch_bonemeal_feature
BlockSprite moss-block.png: Sprite image for moss-block in Minecraft [No displayed name]moss_patch_snap_to_floor_feature
BlockSprite moss-block.png: Sprite image for moss-block in Minecraft [No displayed name]moss_ceiling_feature
BlockSprite moss-block.png: Sprite image for moss-block in Minecraft [No displayed name]moss_ceiling_snap_to_ceiling_feature

Config

Main article: Configured feature

Java Edition:

Vegetation patch is placed in columns, one column for each XZ position, placed separately. Rectangle of available XZ positions is defined by [Int][NBT Compound / JSON Object] xz_radius. For each XZ position feature starts searching for [Int] vertical_range 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 [String] surface feature will change direction of its search and available position:

  • floor - available position is air 1 block above the block from [String] replaceable tag. If search starts in air, feature will search down, otherwise - up.
  • ceiling - available position is air 1 block below the block from [String] replaceable 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 [String] replaceable tag for either amount of blocks set in [Int][NBT Compound / JSON Object] depth or until the first instance of non replacable, or same block, that is chosen by [NBT Compound / JSON Object] ground_state (state of block is ignored).

After that feature, defined in [String][NBT Compound / JSON Object] vegetation_feature is generated on the found available position.

  • [NBT Compound / JSON Object] config
    • [String] surface The surface to place on. One of floor, or ceiling
    • [Int][NBT Compound / JSON Object] depth Value between 1 and 128 (inclusive). Amount of blocks, that should be replaced by column.
    • [Int] vertical_range Value between 1 and 256 (inclusive). Y radius in which column should search for available placement.
    • [Float] extra_bottom_block_chance Value between 0.0 and 1.0 (inclusive). Chance to add 1 to [Int][NBT Compound / JSON Object] depth.
    • [Float] extra_edge_column_chance Value between 0.0 and 1.0 (inclusive). Chance to add search position adjacent to initial rectangle.
    • [Float] vegetation_chance Value between 0.0 and 1.0 (inclusive). The chance of placing [String][NBT Compound / JSON Object] vegetation_feature on found available position.
    • [Int][NBT Compound / JSON Object] xz_radius XZ radius for searching available positions. Also note that the even though the x and z axes share the same integer provider, they are sampled individually, for example, if a uniform type integer provider is used for the [Int][NBT Compound / JSON Object] xz_radius with a min of 2 and a max of 8, the x radius could be 6 while the z radius could be 3. Specifying unique X and Z values isn't possible.
    • [String] replaceable A block tag with # specifying which blocks can be replaced by the column.
    • [NBT Compound / JSON Object] ground_state The block, used for generating column.
    • [String][NBT Compound / JSON Object] vegetation_feature The placed feature to place on found available position. Can be a placed feature ID, or a placed feature object.

History

This section of the article is empty.
 
You can help by .

Issues

Issues relating to "Vegetation Patch" are maintained on the bug tracker. Issues should be reported and viewed there.