Vines

Vines are non-solid blocks, $1/16$ of a block in thickness that can be placed only against a vertical side of a solid block. They also can be supported by a solid block ceilings if adjacent to a solid vertical wall.

Natural generation
Vines are naturally generated in jungles and swamps. Jungle trees of both sizes have vines on their trunks and canopy edges, and vines grow on the sides of jungle terrain. Vines are also naturally generated in oak trees in swamps. They are found in jungle temples and woodland mansions allium room. Vines can also generate on dying oak, spruce, jungle and dark oak trees. Vines can generate in watchtower walls in pillager outposts.

Breaking
Vines can be destroyed with anything, but using shears is the only way to collect them. Efficiency on shears does not work for vines. The mining speed can be increased with an axe, but an axe cannot collect vines even with Silk Touch. (In Bedrock Edition vines can be harvested with an axe that has the Silk Touch Enchantment). If multiple vines exist within the same block space, breaking one of them breaks all of them instead of just the one targeted and results in only a single vine dropping.

Trading
Vines are sold by wandering traders for an emerald.

Post generation
On each block tick, the vine block has a 25% chance of attempting to spread in a randomly selected direction. Vines spread to adjacent blocks under certain conditions:
 * Downward:
 * If the block below is air, each side (north, south, east, and west) with vines has a 50% chance to spread downward.


 * If the block below is a block, each side of that block with vines on the ticked block has a 50% chance of gaining vines.


 * Upward:
 * If the block above is air and there are fewer than 4 other vine blocks in a 9×9×3 area surrounding the ticked vine block, each side (north, south, east, and west) with vines has a 50% chance to spread upward if that side is backed by a block that vines can be placed on.


 * Horizontally:
 * If the current vine block isn't covering the target direction and there are fewer than 4 other vine blocks in a 9×9×3 area surrounding the ticked vine block, then:
 * If the block in the target direction is air, then it tries:
 * If the vine block has vines to the right and that side of the air block is backed by something vines can be placed on, spread to the right side of the air block.


 * If the vine block has vines to the left and that side of the air block is backed by something vines can be placed on, spread to the left side of the air block.

{| style="vertical-align:middle;float:right" data-description="Vines spreading right around a corner" Vertically
 * to
 * to
 * If the vine block has vines to the right, and that side of the air block is backed by another air block, and the right side of the vine block is backed by something vines can be placed on, spread around the corner.


 * If the vine block has vines to the left, and that side of the air block is backed by another air block, and the left side of the vine block is backed by something vines can be placed on, spread around the corner.


 * If the air block in the target direction has something vines could be placed on above it, spread to the top side of the air block.
 * If the block in the target direction is opaque and fills its whole cube, spread to that side of the ticked vine block.

Vines cannot be grown using bone meal.

Usage
Vines can be placed on the side of any block that fills its whole cube and blocks entity movement. They can also be placed on the bottom side of a block (although not the bottom side of another vine - this was programmed intentionally ). However, a vine block without vines on any of the horizontal sides disappears if it gets an update from a neighboring block. Vines attached to the bottom of stairs are completely deleted by any block update.

Several vines can be placed in the same block space, as long as they are facing different directions.

Vines block mobs' line of sight, so it is possible to sneak up onto mobs by hiding behind vines. Because of this, endermen can safely be viewed through vines and skeletons do not attempt to shoot targets behind vines.

Vines can be climbed by standing next to them and holding the jump key. If there is a solid block behind the vines, the walk forward key can also be used.

Vines cancel a sprint if the player is sprinting, slowing the movement speed.

Vines absorb all fall damage, even without a solid surface nearby. on vines causes the player to hang, even if the vines are not adjacent to any surface.

Blocks can replace vines if placed within the same block space. However, item frames and paintings cannot.

Composting
Placing vines into a composter has a 50% chance of raising the compost level by 1.

Java Edition
Hard-coded Color
 * In the Inventory, Vines have a color:.

Biome Colors

These values are generated by the biome dyeing algorithm. See Biome colors for more information.

ID




Block data
$$, vines uses the following data values to determine the face against which the vine is anchored. Note that (except for Top) these are testable as bit flags, unlike most of the other directional data for other block types. Multiple sides can contain vines. The "top" attachment is assumed to be present if data is 0 or there is solid block above.
 * 1:
 * 2:
 * 4:
 * 8: