Give a Trial Key
Get a key for trial chamber vaults
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Gives a trial key, normally earned by completing a trial spawner challenge in a trial chamber. Use it on a vault block to unlock its loot. Note that each vault only opens once per player, key or not.
/give @p trial_key18 characters
- Java: yes
- Bedrock: yes
- Command block: yes
- Needs cheats / OP: yes
How to use
- Open chat (T on Java, / on Bedrock).
- Paste the command and press Enter.
- Find a vault block in a trial chamber.
- Right-click the vault with the key to claim its loot.
Related commands
Get a diamond sword pre-enchanted with Sharpness V
/give @p diamond_sword[enchantments={sharpness:5}]Get an enchanted book with Mending
/give @p enchanted_book[stored_enchantments={mending:1}]Get a pickaxe that never breaks
/give @p diamond_pickaxe[unbreakable={}]Get a netherite sword pre-enchanted with Sharpness V
/give @p netherite_sword[enchantments={sharpness:5}]