How to Add Heads Using Command Block in Minecraft

Minecraft's command block system opens up a world of customization that goes far beyond survival mode basics. One of the most popular uses? Spawning player and mob heads that aren't normally obtainable through regular gameplay. Whether you're building a trophy room, decorating a map, or adding detail to a custom adventure, command blocks make it possible — but the exact method depends on your version, permissions, and what type of head you're after.

What Are Minecraft Heads and Why Use Command Blocks?

In Minecraft, heads are decorative blocks that display the skin or texture of a player, mob, or custom entity. Some heads drop naturally — a creeper head can drop when a charged creeper kills another mob, for example — but most heads are either extremely rare or completely unobtainable without commands.

Command blocks are special in-game blocks that execute server commands automatically when triggered. They bypass the need to type commands manually in chat and can be set to run on repeat, on activation, or in a chain. For heads specifically, command blocks let you grant yourself or other players heads consistently, without relying on rare drops or admin access every session.

Setting Up Your Command Block

Before you can add heads, you need access to a command block. This requires:

  • Creative Mode or operator (OP) permissions on a server
  • Cheats enabled on your world (set at world creation or toggled in LAN settings)

To get a command block, open chat and type:

/give @p command_block 

Place it in your world, then right-click to open its interface. You'll see a text field where you enter the command, and options for block type (Impulse, Chain, or Repeat) and condition mode.

The Core Command: Giving a Player Head 🎮

The most straightforward approach uses the /give command inside the command block to provide a player head with a specific skin.

For Java Edition, the command structure looks like this:

/give @p minecraft:player_head{SkullOwner:"PlayerNameHere"} 

Replace PlayerNameHere with any valid Minecraft username. The head will display that player's current skin. This works for real accounts — the game pulls the skin data from Mojang's servers.

For custom heads (heads with specific textures that aren't tied to a real player name), the command becomes more complex and uses a Base64-encoded texture value. These look like:

/give @p minecraft:player_head{SkullOwner:{Id:[UUID integers],Properties:{textures:[{Value:"Base64StringHere"}]}}} 

Websites like Minecraft Heads or MinecraftHeads.com generate these full commands for thousands of pre-made textures — skulls, animals, food items, decorative blocks — so you don't need to encode textures manually.

Java Edition vs. Bedrock Edition: A Key Distinction

The command syntax differs meaningfully between the two main versions:

FeatureJava EditionBedrock Edition
Custom texture headsSupported via NBT dataVery limited support
Player head command/give @p player_head{SkullOwner:"Name"}/give @p skull 1 3 (player heads only)
Custom head databasesFully compatibleMostly incompatible
Command block accessRequires cheats/OPRequires cheats/OP

Bedrock Edition handles heads differently. You can give standard mob heads (skeleton, zombie, creeper, etc.) using the item data value system, but the rich NBT-based custom textures that Java supports aren't available in the same way. If you're on Bedrock and want the equivalent of custom heads, you'd typically need a resource pack or marketplace content instead.

Mob Heads via Commands

For vanilla mob heads on Java Edition, you can use the same /give command:

/give @p minecraft:creeper_head /give @p minecraft:skeleton_skull /give @p minecraft:zombie_head /give @p minecraft:wither_skeleton_skull /give @p minecraft:dragon_head /give @p minecraft:piglin_head 

These are legitimate items in the game — the command just skips the rare drop requirement. On Bedrock, the equivalent uses numeric data values:

/give @p skull 1 0 (skeleton) /give @p skull 1 1 (wither skeleton) /give @p skull 1 2 (zombie) /give @p skull 1 4 (creeper) /give @p skull 1 5 (dragon) 

Triggering the Command Block Correctly

A command block won't run on its own — it needs a trigger:

  • Impulse mode runs once when powered by redstone (a button, lever, or pressure plate)
  • Repeat mode runs every game tick while powered — useful for giving heads automatically when a player enters an area
  • Chain mode runs after another command block fires — useful for giving multiple heads in sequence

For a simple head dispenser, place a button on the side of the command block. Set the block to Impulse, enter your /give command, and press the button. The head will appear in the nearest player's inventory.

Variables That Affect Your Results 🔧

Getting heads with command blocks sounds straightforward, but several factors shape exactly how this works in your situation:

  • Game version — Commands updated between major versions. A command valid in 1.16 may need adjustment in 1.20+
  • Server permissions — On multiplayer servers, command blocks may be disabled server-side regardless of your OP status
  • Single-player vs. multiplayer — Behavior and permissions differ; LAN worlds have their own quirks
  • Datapack or mod conflicts — Some mods alter item behavior or command handling
  • Target selector@p gives the head to the nearest player; @s targets the command executor; @a gives to all players. The wrong selector in a multiplayer context can cause unexpected results

A command that works perfectly in your solo creative world may need adjustments the moment you move it to a server environment with plugins or different Java versions.

The specifics of your setup — which version you're running, whether it's a server or local world, and what you're trying to build — are what determine which exact approach will work cleanly for you.