Updated:
Buried Treasure Map: item ID and commands
The ID for Buried Treasure Map is minecraft:buried_treasure_map. It is an item, used with /give and /clear. It was added in Java 26.3.
Basic data
| Name | Buried Treasure Map |
|---|---|
| ID (Java Edition) | minecraft:buried_treasure_map |
| Type | Item |
| Java versions | Java 26.3 and later |
| Bedrock 26.52 | This ID is not accepted as is |
Commands you can copy
Java Edition
Give one
/give @p minecraft:buried_treasure_map 1Put in main hand (Java 1.17+)
/item replace entity @p weapon.mainhand with minecraft:buried_treasure_mapRemove from inventory
/clear @p minecraft:buried_treasure_mapOpen this command in the Give generator
Bedrock Edition
Bedrock does not accept this ID. Check the Bedrock form with the Java / Bedrock converter.
Version notes
It was added in Java 26.3. 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 Buried Treasure Map?
It is minecraft:buried_treasure_map. In commands you can also write buried_treasure_map without minecraft:.
Why does the command turn red?
The ID is misspelled, or it does not exist in that version yet. Buried Treasure Map works in Java 26.3 and later. The Command Error Doctor can check it.