
Name tags allow you to customize mobs with unique titles and prevent them from disappearing from your world. Beyond basic customization, specific names trigger hidden visual effects, unique skins, and behavioral changes.
Nickname DecoratorColor Code Text Editor
You cannot craft a name tag at a crafting table. Instead, you must gather them through exploration and trading:
Once you have a name tag and an anvil, follow these steps to name a mob:
Once applied, the custom name appears above the mob's head. More importantly, named mobs do not despawn, making name tags essential for keeping hostile mobs in farms, displays, or custom arenas.
Minecraft includes several built-in Easter eggs that alter a mob's appearance or behavior when you apply specific names. These names are case-sensitive and must be typed without quotation marks:
Dinnerbone or Grumm): Naming almost any mob Dinnerbone or Grumm flips its model completely upside down. The mob still walks, attacks, and behaves normally while inverted.jeb_): Applying the name jeb_ (including the underscore) to a sheep causes its wool to smoothly cycle through all dye colors. If you shear a jeb_ sheep, it drops the wool color it originally had before being named, not the color currently displayed in the cycle.Toast): Naming any rabbit Toast replaces its natural fur pattern with a unique black-and-white memorial skin. This purely cosmetic change does not alter the rabbit's behavior.Johnny): Naming a vindicator Johnny turns it hostile toward almost every mob in the game. A Johnny vindicator will draw its axe and attack passive, neutral, and even other hostile mobs on sight.Bedrock players can type the section symbol (§) directly into anvil names, as well as on signs and in books. On a Windows PC with a dedicated number pad, hold Alt and type 0167 to produce §.
To color or format a name tag in an anvil, type § followed immediately by a single character code before the mob's name. By default, anvil renames appear in italic, which you can remove using the reset code §r.
Copyable Bedrock anvil examples:
§r§cGuard Dog (Removes italics and makes the text red)§l§6King Slime (Makes the text bold and gold)§sDiamond Golem (Colors the text using the diamond material palette)§b§ldinnerbone (Note: Adding color codes changes the actual text string, so Easter eggs like Dinnerbone will not trigger if colored in an anvil)Unlike Bedrock, Java chat and anvil menus do not let you type the § symbol directly. However, players and server owners have two primary ways to create colored name tags.
1. Using Server Plugins
Many multiplayer servers run plugins that allow colored anvil naming by substituting the ampersand (&) for the section symbol. On those servers, you can simply type into the anvil box:
&a&lZombie Boss (Green and bold)&d&ojeb_ (Light purple and italic; only works as an Easter egg if the plugin strips codes for the internal check, otherwise use pure text for Easter eggs)Remember that in Java Edition, a color code resets all active formats, so you must always write the color code first and the formatting code second (for example, &c&l works for bold red, while &l&c will only be red).
2. Using JSON Text Commands
In singleplayer with cheats enabled or as a server admin, commands use JSON text with the "color" property. You can summon a mob with a colored custom name directly. Note that text rendering calculates a drop shadow automatically: the shadow color equals the text color with each RGB channel divided by 4.
Copyable JSON text snippet for command use:
{"text":"Guardian","color":"aqua","bold":true,"italic":false}If you want an Easter egg mob with a colored name in Java, naming it via anvil isn't possible without breaking the exact name match, so keep Easter egg tags unformatted: Dinnerbone, Grumm, jeb_, Toast, or Johnny.
Use these codes after § (Bedrock) or & (Java plugins) to style your text. In Java JSON commands, use the full name like "dark_aqua" or the hex code.
Standard Colors (Java & Bedrock):
0 : black (#000000)1 : dark_blue (#0000AA)2 : dark_green (#00AA00)3 : dark_aqua (#00AAAA)4 : dark_red (#AA0000)5 : dark_purple (#AA00AA)6 : gold (#FFAA00)7 : gray (#AAAAAA)8 : dark_gray (#555555)9 : blue (#5555FF)a : green (#55FF55)b : aqua (#55FFFF)c : red (#FF5555)d : light_purple (#FF55FF)e : yellow (#FFFF55)f : white (#FFFFFF)Formatting Codes:
k : obfuscated (constantly changing characters)l : boldm : strikethrough (Java only)n : underline (Java only)o : italicr : reset all colors and formatsBedrock Extra Material Colors:
Note that on Bedrock Edition, m and n are assigned to material colors, so strikethrough and underline formatting do not exist there.
g : minecoin_goldh : material_quartzi : material_ironj : material_netheritem : material_redstonen : material_copperp : material_goldq : material_emeralds : material_diamondt : material_lapisu : material_amethystv : material_resinNo. Once you apply a renamed name tag to a mob, it will never naturally despawn when you move far away from it.
No. The rainbow effect on a sheep named jeb_ is purely visual. Shearing it yields the wool color the sheep originally had before being named.
In Java Edition, placing a color code automatically resets any formatting codes before it. Always place your color code first and your format code second, such as &6&l.
On Bedrock Edition, the codes m and n are used for material_redstone and material_copper colors instead of text formatting, so strikethrough and underline do not exist there.