Skip to content
[/craft]

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 2026

Places 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
54 characters

How to use

  1. Open chat (T on Java, / on Bedrock).
  2. Paste the command and press Enter.
  3. A carved pumpkin appears on your head.
  4. Change the item name to wear different blocks.

Related commands

Instantly generate an end city structure at your feet

/place structure minecraft:end_city

Convert the surrounding biome to cherry grove

/fillbiome ~-50 ~-50 ~-50 ~50 ~50 ~50 minecraft:cherry_grove

Switch yourself into Creative mode

/gamemode creative

Instantly remove every mob from the world except players

/kill @e[type=!player]

Switch to Peaceful mode so hostile mobs don't spawn

/difficulty peaceful

Get coordinates of the nearest village structure

/locate structure village