Wall

Walls are decorative blocks. There are currently 2 decorative types of walls.[until: JE 1.14]

Obtaining
Walls can be mined using any pickaxe. If mined without a pickaxe, they will drop nothing.

Natural Generation
Cobblestone walls generate in woodland mansions. They also generate in pillager outposts, and in some houses in plains, taiga, snowy tundra, and snowy taiga villages.

Mossy cobblestone walls can generate in pillager outposts.

Diorite walls generate in some snowy tundra village houses.

Sandstone walls generate in some desert village houses.

Granite walls generate in some desert village houses.

Usage
Walls are one and a half blocks tall for player/mob collision, and one block tall for all other purposes, similar to fences. This prevents players and mobs from jumping over them, while using only one actual block space. A wall occupies the center space of blocks and automatically connects to any solid block that is placed next to it. Since their hitbox is smaller than a single block, it will allow a mob in the block to breathe even when submerged.

Walls are more efficient at fencing off mobs than a two-block high wall of cobblestone, costing only half as many blocks, and being more space-efficient as well. The drawback, however, is that a skeleton might shoot over the wall, a creeper could explode if a player is standing near the wall and a spider could still climb over the wall.

Unlike fences, if two walls are placed one block apart diagonally, the player cannot walk between them.

Block data
In Bedrock Edition, cobblestone wall uses the following data values:

Trivia

 * When a fence gate is placed next to a cobblestone wall (of either type), it will stoop down slightly to match the height of the cobblestone wall.
 * Although the cobblestone wall only raises at corners and ends, it will raise to support a solid or non-solid block placed above it.
 * If sand or gravel fall over the cobblestone wall, the sand or gravel will appear to float over the wall.
 * A stack of cobblestone made into cobblestone walls (which will only use 60 of the 64 cobblestone) will make exactly enough walls to fence off one chunk.

Gallery
Kamenná zeď Bruchsteinmauer Muro de roca Murets 丸石の壁 담장 Keistenen muur Brukowy murek Parede de Pedregulho Булыжниковая стена 墙