Wear Any Block As Armor
Place a carved pumpkin on your head as wearable armor
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Places a carved pumpkin on your head as if it were a helmet, using /item on Java and the equivalent /replaceitem on Bedrock (Bedrock has no /item command). Swap the item id for almost any block or head to wear it (jack_o_lantern on Java, lit_pumpkin on Bedrock, mob heads, etc.). This is purely cosmetic but fun for roleplay or build previews.
/item replace entity @s armor.head with carved_pumpkin- 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.
- A carved pumpkin appears on your head.
- Change the item name to wear different blocks.
Related commands
Spawn An End City Structure
Instantly generate an end city structure at your feet
Change Biome To Cherry Grove
Convert the surrounding biome to cherry grove
Set Gamemode to Creative
Switch yourself into Creative mode
Kill All Mobs
Instantly remove every mob from the world except players
Set Difficulty to Peaceful
Switch to Peaceful mode so hostile mobs don't spawn
Find the Nearest Village
Get coordinates of the nearest village structure