Updated:

Vault: item ID and commands

The ID for Vault is minecraft:vault. It is a placeable block, so the same ID works in /give, /setblock and /fill. It was added in Java 1.21.

Basic data

NameVault
ID (Java Edition)minecraft:vault
TypeBlock (also an item)
Java versionsJava 1.21 and later
Bedrock 26.52Same ID works (tested on a server)
Stack size64
Hardness50
Blast resistance50
Light level6

Commands you can copy

Java Edition

Give one

/give @p minecraft:vault 1

Give a full stack (64)

/give @p minecraft:vault 64

Place at your feet

/setblock ~ ~ ~ minecraft:vault

Fill a 5×5 floor

/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:vault

Remove from inventory

/clear @p minecraft:vault

Open this command in the Give generator

Bedrock Edition

Give one

/give @p vault 1

Give a full stack (64)

/give @p vault 64

Place at your feet

/setblock ~ ~ ~ vault

Remove from inventory

/clear @p vault

Block states

StateValuesDefault
facingnorth, south, west, eastnorth
ominoustrue, falsefalse
vault_stateinactive, active, unlocking, ejectinginactive

Place it with a state

/setblock ~ ~ ~ minecraft:vault[facing=south]

Bedrock uses different state names and syntax (for example ["facing_direction"=2]).

Version notes

It was added in Java 1.21. Older versions report that the ID is unknown.

Java 1.20.5 and later write extra item data in [ ] (components); 1.20.4 and earlier use { } (NBT). A plain /give with only the ID is the same in both.

Questions

What is the ID for Vault?

It is minecraft:vault. In commands you can also write vault without minecraft:.

Why does the command turn red?

The ID is misspelled, or it does not exist in that version yet. Vault works in Java 1.21 and later. The Command Error Doctor can check it.

Related IDs