Skip to content
  • Toggle dark modeSwitch between light and darkAction
  • Open My KitEverything you made, saved in this browserAction
  • Open My KitEverything you made, saved in this browserAction

3 results

Menu

Barrier ID in Minecraft

The Barrier ID in Minecraft Java Edition is minecraft:barrier, the same on Bedrock. Before Java 1.13 it was 166.

/give command

  • Java 1.13 – 26.3
    /give @p minecraft:barrier 64

    Gives a full stack of 64. Change the last number for a different amount.

  • Bedrock
    /give @s barrier 64
  • Place the block (Java)
    /setblock ~ ~ ~1 minecraft:barrier

Want enchantments, a name or lore? Open it in the give command generator.

Details

Java ID
minecraft:barrier
Bedrock ID
minecraft:barrier
Java 1.8–1.12 ID
166
Added in Java
1.13 or earlier
Stack size
64
Rarity
epic
Hardness
Unbreakable
Blast resistance
3600000.8

Block states

Use these in /setblock or /fill, for example minecraft:barrier[waterlogged=false].

StateValuesDefault
waterloggedtrue, falsefalse

More tools