Any block on top of a head
Items
Wear any block as a helmet with one commandLearn more
Glass, TNT, beacon, or dragon egg instead of a helmet — with one command. Immediately on a player or mob, or on an item that is equipped by right-clicking, like a helmet.
My Game select version
Save your preferences in this browser and apply them to supported tools. Settings in a shared link take priority. Wiki version labels are not affected.
Result
GlassEquipped by right-click, like a helmet · from 1.21.2
/give @p minecraft:glass[equippable={slot:"head"}]Immediately on head · from 1.17
/item replace entity @p armor.head with minecraft:glassHow to use the result
- Equip with right-click
First command gives an item that is equipped by right-clicking or in the helmet slot in inventory. Remove and re-equip.
- Immediately on head
The second one places an item in the helmet slot without asking. Works on mobs too @e[type=zombie,limit=1,sort=nearest].
- Operator permissions
Both commands — for operator chat or command block.
What to know
- A block is drawn on top of the head. Pumpkin: as a full cube above the head. It does not provide protection—has no armor.
- "Like a pumpkin" — the wearer's screen darkens at the edges, like through a carved pumpkin. This field camera_overlay component equippable.
- Up to 1.21.2 items equipped by right-click were not available: only the second command works (before 1.17 — /replaceitem).
- A player's head with any skin will give Player Head, and the real enchanted helmet — /give generator.
Frequently asked questions
How to put a block on your head in Minecraft?
With the command /item replace entity @p armor.head with the block's ID, it will instantly place in the helmet slot. Starting from 1.21.2, you can give an item with the equippable component: it can be equipped by right-clicking, like a helmet.
Can you put a block on a mob's head?
Yes: in the /item command, replace @p with a mob selector, for example @e[type=zombie,limit=1,sort=nearest].
Does the block on the head provide protection?
No: The block has no armor. It is drawn as a cube over the head, like a pumpkin.
