Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Data component format/custom name: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Sync: new page from Minecraft
 
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
Line 1: Line 1:
<div class="treeview">
<div class="treeview">
<onlyinclude>
<onlyinclude>
** {{nbt|string}}{{nbt|list}}{{nbt|compound}} '''minecraft:custom_name''': The player-assigned name of this this item, block, or entity, typically assigned with an [[Minecraft:anvil]] or a [[Minecraft:name tag]]. See [[Minecraft:Text component format]].
** {{nbt|string}}{{nbt|list}}{{nbt|compound}} '''minecraft:custom_name''': The player-assigned name of this item, block, or entity, typically assigned with an [[Minecraft:anvil]] or a [[Minecraft:name tag]]. See [[Minecraft:Text component format]].
** If present on an ''item'', this component has highest priority to display as the item's name, and appears italic unless overridden by the text component format.
** If present on an ''item'', this component has highest priority to display as the item's name, and appears italic unless overridden by the text component format.
** If present on an ''entity'', it will replace the entity's name tag, will show the name tag to players when they hover over the entity (unless invisible), and will appear as that entity's name in commands and chat messages.
** If present on an ''entity'', it will replace the entity's name tag, will show the name tag to players when they hover over the entity (unless invisible), and will appear as that entity's name in commands and chat messages.

Latest revision as of 11:05, 13 May 2026

    • Template:NbtTemplate:NbtTemplate:Nbt minecraft:custom_name: The player-assigned name of this item, block, or entity, typically assigned with an Minecraft:anvil or a Minecraft:name tag. See Minecraft:Text component format.
    • If present on an item, this component has highest priority to display as the item's name, and appears italic unless overridden by the text component format.
    • If present on an entity, it will replace the entity's name tag, will show the name tag to players when they hover over the entity (unless invisible), and will appear as that entity's name in commands and chat messages.
    • If present on a block with a GUI (such as a container), this replaces the name at the top of the GUI.
    • If present on a Minecraft:command block, this replaces the execution context name when the command is ran.

Minecraft:fr:Format de composant de données/custom name Minecraft:ja:データコンポーネント/custom name Minecraft:pt:Formato de componente de dado/custom name Minecraft:uk:Формат компонента даних/custom name