Placeable blocks

Barrier

Barrier is a placeable blocks item in Java Edition 26.2. It stacks up to 64 and uses the identifier minecraft:barrier.

Barrier — representative authorized Minecraft assetBarrier
Image source: Minecraft Wiki
Item ID
minecraft:barrier
Numeric ID
530
Stack size
64
Edition
Java
Recipe relationships
0

Uses, durability and repair

A full inventory slot holds 64 items; 27 slots hold 1728, and a double chest holds 3456.

Command

/give @p minecraft:barrier 64
/give
Gives an item to the selected target.
@p
The nearest player to where the command runs.
minecraft:barrier
The namespaced identifier for Barrier.
64
The number of items to give.

Component syntax can change between releases. This identifier is pinned to the current Java 26.2 registry used by this page.

Related content