Barrier Item ID

Each item in Minecraft has a unique ID assigned to it, known as an item ID, this can be used in commands to spawn the item into the game. The item ID for barrier in Minecraft is shown below:

Barrier Spawn Command

The Barrier item can be spawned in Minecraft with the below command. Cheats must be enabled before this will work.

If you are running the Essentials plugin, you will need to run /minecraft:give instead of simply /give. This is because the Essentials /give command overrides Minecraft's built-in command.

All Minecraft 1.18 Item IDs

Find thousands more items on our complete list of 1,325 Minecraft IDs.

All 1.18 Item IDs

Barrier Information

Barrier

The Minecraft barrier block, otherwise known as invisible bedrock, is an unbreakable invisible block added in Minecraft 1.8. It can only be broken by players in the creative gamemode and is very useful for adventure maps and builders as it prevents players from jumping past it.

Item ID minecraft:barrier
Numerical ID 166
Stackable Yes
Max Stack Size 64
Hardness 0.0
Diggable No
Min / Max State IDs 7536 - 7536