Updated:
Desert Pyramid Map: item ID and commands
The ID for Desert Pyramid Map is minecraft:desert_pyramid_map. It is an item, used with /give and /clear. It was added in Java 26.3.
Basic data
| Name | Desert Pyramid Map |
|---|---|
| ID (Java Edition) | minecraft:desert_pyramid_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:desert_pyramid_map 1Put in main hand (Java 1.17+)
/item replace entity @p weapon.mainhand with minecraft:desert_pyramid_mapRemove from inventory
/clear @p minecraft:desert_pyramid_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 Desert Pyramid Map?
It is minecraft:desert_pyramid_map. In commands you can also write desert_pyramid_map without minecraft:.
Why does the command turn red?
The ID is misspelled, or it does not exist in that version yet. Desert Pyramid Map works in Java 26.3 and later. The Command Error Doctor can check it.