Minecraft:Tooltip: Difference between revisions
More actions
Sync: updated from Minecraft |
Sync: updated from Minecraft |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
A '''tooltip''' is extra information that appears when hovering over or focusing on | [[File:ExampleTooltip.png|thumb|An example of an item tooltip with [[enchantment]]s and [[Minecraft:attribute]]s]] | ||
A '''tooltip''' is extra information that appears when hovering over or focusing on [[Minecraft:item]]s or certain UI elements. | |||
== Types of tooltips == | == Types of tooltips == | ||
=== Item tooltips === | === Item tooltips === | ||
When hovering over an [[Minecraft:item]] with the cursor while in the [[Minecraft:inventory]] or a [[Minecraft:container]] screen, a tooltip with the item’s name appears next to the cursor. When playing with touch controls, tapping an item displays its tooltip on the bottom of the screen. Some items display extra information on their tooltips, such as [[Minecraft:enchantment]]s and [[Minecraft:shulker box]] contents. {{IN|java}}, basic item tooltips are also visible in the "Items" section of the [[Minecraft:statistics]] menu when hovering over a block or item on the left side of the screen. | |||
When hovering over an [[Minecraft:item]] with the cursor while in the [[Minecraft:inventory]] or a [[Minecraft:container]] screen, a tooltip with the item’s name appears next to the cursor. When playing with touch controls, tapping an item displays its tooltip on the bottom of the screen. Some items display extra information on their tooltips, such as [[Minecraft:enchantment]]s and [[Minecraft:shulker box]] contents. {{IN|java}}, basic item tooltips are also visible in the "Items" section of the [[Minecraft:statistics]] menu when hovering over a block or item on the left side of the screen | |||
{{IN|java}}, advanced tooltips, including item IDs and the exact remaining [[Minecraft:durability]] of tools, can be displayed by pressing the [[Minecraft:debug hotkey]] {{key|F3+H}}. | {{IN|java}}, advanced tooltips, including item IDs and the exact remaining [[Minecraft:durability]] of tools, can be displayed by pressing the [[Minecraft:debug hotkey]] {{key|F3+H}}. | ||
==== Description of item tooltip lines ==== | ==== Description of item tooltip lines ==== | ||
{{ | {{Dynamic list|section=1}} | ||
The table below describes all possible tooltip lines, including these shown when advanced tooltips are enabled. Note that table preserves the order of these lines too. | |||
===== ''Java Edition'' ===== | |||
The table below describes all possible tooltip lines {{In|JE}}, including these shown when advanced tooltips are enabled. Note that table preserves the order of these lines too. | |||
In "Content" column, cells with yellow background means the exact text displayed. Additionally, cells marked "''[...]''" means that this field has variable lines count. | In "Content" column, cells with yellow background means the exact text displayed. Additionally, cells marked "''[...]''" means that this field has variable lines count. | ||
| Line 27: | Line 29: | ||
| The item name.<br>Some data components are able to alter the default item name (note that <code>[[Minecraft:Data_component_format#custom_name|minecraft:custom_name]]</code> component has highest priority and overrides any other alterations). | | The item name.<br>Some data components are able to alter the default item name (note that <code>[[Minecraft:Data_component_format#custom_name|minecraft:custom_name]]</code> component has highest priority and overrides any other alterations). | ||
| {{tc|planned|''Item name''|style=text-align: center;}} | | {{tc|planned|''Item name''|style=text-align: center;}} | ||
|- | |- | ||
| rowspan=3 | 1 | | rowspan=3 | 1 | ||
| {{tc|partial|Can hold a mixed stack of items}} | | {{tc|partial|Can hold a mixed stack of items}} | ||
| Line 66: | Line 68: | ||
| ''Painting's dimensions'' | | ''Painting's dimensions'' | ||
|- | |- | ||
| rowspan=2 | | | 5 | ||
| {{tc|partial|Music Disc - 5}} | |||
| [[Minecraft:Disc fragment]] description, shown when item ID is {{cd|minecraft:disc_fragment_5}} | |||
| {{tc|Yes|style=text-align: center;}} | |||
|- | |||
| rowspan=2 | 6 | |||
| ''Tropical fish's pattern'' | | ''Tropical fish's pattern'' | ||
| The pattern of [[Minecraft:Tropical_Fish|tropical fish]], defined by <code>[[Minecraft:Data_component_format#tropical_fish/pattern|minecraft:tropical_fish/pattern]]</code> component. | | The pattern of [[Minecraft:Tropical_Fish|tropical fish]], defined by <code>[[Minecraft:Data_component_format#tropical_fish/pattern|minecraft:tropical_fish/pattern]]</code> component. | ||
| Line 75: | Line 82: | ||
| {{tc|yes|style=text-align: center;}} | | {{tc|yes|style=text-align: center;}} | ||
|- | |- | ||
| | | 7 | ||
| ''Goat horn's instrument'' | | ''Goat horn's instrument'' | ||
| [[Minecraft:Goat Horn|Goat Horn]] instrument, defined by <code>[[Minecraft:Data_component_format#instrument|minecraft:instrument]]</code> component. | | [[Minecraft:Goat Horn|Goat Horn]] instrument, defined by <code>[[Minecraft:Data_component_format#instrument|minecraft:instrument]]</code> component. | ||
| {{tc|yes|style=text-align: center;}} | | {{tc|yes|style=text-align: center;}} | ||
|- | |- | ||
| rowspan=5 | | | rowspan=5 | 8 | ||
| {{tc|partial|Unknown Map}} | | {{tc|partial|Unknown Map}} | ||
| Shown when item has <code>[[Minecraft:Data_component_format#map_id|minecraft:map_id]]</code> component pointing to a unknown [[Minecraft:Map|map]]. | | Shown when item has <code>[[Minecraft:Data_component_format#map_id|minecraft:map_id]]</code> component pointing to a unknown [[Minecraft:Map item format|map data]]. | ||
| {{tc|yes|style=text-align: center;}} | | {{tc|yes|style=text-align: center;}} | ||
|- | |- | ||
| ''Map ID'' | | ''Map ID'' | ||
| Shown when item has valid <code>minecraft:map_id</code> component. | | Shown when item has valid <code>minecraft:map_id</code> component, but it has neither the {{DCL|minecraft:custom name}} nor the {{DCL|minecraft:map_post_processing}} component. | ||
| {{tc|yes|style=text-align: center;}} | | {{tc|yes|style=text-align: center;}} | ||
|- | |- | ||
| {{tc|partial|Locked}} | | {{tc|partial|Locked}} | ||
| This line appears only if map with specified | | This line appears only if map with specified {{cd|minecraft:map_id}} locked or {{cd|minecraft:map_post_processing}} is 0 (LOCK).<br>[[Minecraft:Map_item_format#map_%3C#%3E.dat_format_(Java)|See this article for more information]]. | ||
| {{tc|yes|style=text-align: center;}} | | {{tc|yes|style=text-align: center;}} | ||
|- | |- | ||
| Line 99: | Line 106: | ||
| ''Map level'' | | ''Map level'' | ||
|- | |- | ||
| | | 9 | ||
| ''Number of bees'' | | ''Number of bees'' | ||
| The number of [[Minecraft:Bee|bees]] (entities) hiding inside, defined by <code>[[Minecraft:Data_component_format#bees|minecraft:bees]]</code> component. Displayed naturally on [[Minecraft:Beehive|beehives]] and [[Minecraft:Bee_Nest|bee nests]]. | | The number of [[Minecraft:Bee|bees]] (entities) hiding inside, defined by <code>[[Minecraft:Data_component_format#bees|minecraft:bees]]</code> component. Displayed naturally on [[Minecraft:Beehive|beehives]] and [[Minecraft:Bee_Nest|bee nests]]. | ||
| {{tc|yes|style=text-align: center;}} | | {{tc|yes|style=text-align: center;}} | ||
|- | |- | ||
| | | 10 | ||
| {{tc|partial|??????? {{sic}}}} | | {{tc|partial|??????? {{sic}}}} | ||
| Indicates that this item has <code>[[Minecraft:Data_component_format#container_loot|minecraft:container_loot]]</code> component. | | Indicates that this item has <code>[[Minecraft:Data_component_format#container_loot|minecraft:container_loot]]</code> component. | ||
| {{tc|yes|style=text-align: center;}} | | {{tc|yes|style=text-align: center;}} | ||
|- | |- | ||
| rowspan=6 | | | rowspan=6 | 11 | ||
| ''1st item name + amount'' | | ''1st item name + amount'' | ||
| rowspan=6 | Item names "held" in first five slots of this item, defined by <code>[[Minecraft:Data_component_format#container|minecraft:container]]</code> component.<br>When item count is 6 or higher, the line with remaining items will be shown. | | rowspan=6 | Item names "held" in first five slots of this item, defined by <code>[[Minecraft:Data_component_format#container|minecraft:container]]</code> component.<br>When item count is 6 or higher, the line with remaining items will be shown. | ||
| Line 124: | Line 131: | ||
| ''Count of the rest items (not their total amount)'' | | ''Count of the rest items (not their total amount)'' | ||
|- | |- | ||
| rowspan=6 | | | rowspan=6 | 12 | ||
| ''1st banner pattern'' | | ''1st banner pattern'' | ||
| rowspan=6 | Six first [[Minecraft:Banner|banner patterns]], defined by <code>[[Minecraft:Data_component_format#banner_patterns|minecraft:banner_patterns]]</code> component.<br>Note that banners with more than 6 patterns are uncraftable, and can be obtained only with commands. | | rowspan=6 | Six first [[Minecraft:Banner|banner patterns]], defined by <code>[[Minecraft:Data_component_format#banner_patterns|minecraft:banner_patterns]]</code> component.<br>Note that banners with more than 6 patterns are uncraftable, and can be obtained only with commands. | ||
| Line 139: | Line 146: | ||
| ''6th banner pattern'' | | ''6th banner pattern'' | ||
|- | |- | ||
| rowspan=5 | | | rowspan=5 | 13 | ||
| {{tc|partial|''<empty space>''}} | | {{tc|partial|''<empty space>''}} | ||
| rowspan=5 | Materials used to craft this [[Minecraft:Decorated_Pot|decorated pot]], defined by <code>[[Minecraft:Data_component_format#pot_decorations|minecraft:pot_decorations]]</code> component. | | rowspan=5 | Materials used to craft this [[Minecraft:Decorated_Pot|decorated pot]], defined by <code>[[Minecraft:Data_component_format#pot_decorations|minecraft:pot_decorations]]</code> component. | ||
| Line 152: | Line 159: | ||
| ''Rear side material'' | | ''Rear side material'' | ||
|- | |- | ||
| rowspan=2 | | | rowspan=2 | 14 | ||
| ''Book's author'' | | ''Book's author'' | ||
| rowspan=2 | Shown when <code>[[Minecraft:Data_component_format#written_book_content|minecraft:written_book_content]]</code> component is present. Meant for [[Minecraft:Written_Book|written books]]. | | rowspan=2 | Shown when <code>[[Minecraft:Data_component_format#written_book_content|minecraft:written_book_content]]</code> component is present. Meant for [[Minecraft:Written_Book|written books]]. | ||
| Line 159: | Line 166: | ||
| ''Book's generation'' | | ''Book's generation'' | ||
|- | |- | ||
| rowspan=2 | | | rowspan=2 | 15 | ||
| ''Projectile name'' | | ''Projectile name'' | ||
| rowspan=2 | A section describing charged projectile, defined by <code>[[Minecraft:Data_component_format#charged_projectiles|minecraft:charged_projectiles]]</code> component. Meant to be used with [[Minecraft:Crossbow|crossbows]].<br>Note that this section may appear multiple times, if the item contains multiple projectiles loaded. | | rowspan=2 | A section describing charged projectile, defined by <code>[[Minecraft:Data_component_format#charged_projectiles|minecraft:charged_projectiles]]</code> component. Meant to be used with [[Minecraft:Crossbow|crossbows]].<br>Note that this section may appear multiple times, if the item contains multiple projectiles loaded. | ||
| Line 166: | Line 173: | ||
| ''Projectile's tooltip lines {{note|1=Item name, bundle section, durability, item ID, number of components and usage warning are not visible there. Additionally, if item is dyed, "Dyed" will always be shown, even if advanced tooltips are enabled.}}<br>[...]'' | | ''Projectile's tooltip lines {{note|1=Item name, bundle section, durability, item ID, number of components and usage warning are not visible there. Additionally, if item is dyed, "Dyed" will always be shown, even if advanced tooltips are enabled.}}<br>[...]'' | ||
|- | |- | ||
| rowspan=2 | | | rowspan=2 | 16 | ||
| ''Flight duration'' | | ''Flight duration'' | ||
| Shown when item has <code>flight_duration</code> tag in <code>[[Minecraft:Data_component_format#fireworks|minecraft:fireworks]]</code> component. | | Shown when item has <code>flight_duration</code> tag in <code>[[Minecraft:Data_component_format#fireworks|minecraft:fireworks]]</code> component. | ||
| Line 175: | Line 182: | ||
| {{tc|yes|style=text-align: center;}} | | {{tc|yes|style=text-align: center;}} | ||
|- | |- | ||
| rowspan=6 | | | rowspan=6 | 17 | ||
| {{tc|partial|No Effects}} | | {{tc|partial|No Effects}} | ||
| Shown when item has <code>[[Minecraft:Data_component_format#potion_contents|minecraft:potion_contents]]</code> component, but is empty. | | Shown when item has <code>[[Minecraft:Data_component_format#potion_contents|minecraft:potion_contents]]</code> component, but is empty. | ||
| Line 196: | Line 203: | ||
| ''Attributes<br>[...]'' | | ''Attributes<br>[...]'' | ||
|- | |- | ||
| | | 18 | ||
| ''Music disc name'' | | ''Music disc name'' | ||
| Shown when item has <code>[[Minecraft:Data_component_format#jukebox_playable|minecraft:jukebox_playable]]</code> component with valid value. | | Shown when item has <code>[[Minecraft:Data_component_format#jukebox_playable|minecraft:jukebox_playable]]</code> component with valid value. | ||
| {{tc|yes|style=text-align: center;}} | | {{tc|yes|style=text-align: center;}} | ||
|- | |- | ||
| rowspan=3 | | | rowspan=3 | 19 | ||
| {{tc|partial|Upgrade:}} | | {{tc|partial|Upgrade:}} | ||
| rowspan=3 | [[Minecraft:Smithing#Trimming|Armor trim upgrade]], defined by <code>[[Minecraft:Data_component_format#trim|minecraft:trim]]</code> component. | | rowspan=3 | [[Minecraft:Smithing#Trimming|Armor trim upgrade]], defined by <code>[[Minecraft:Data_component_format#trim|minecraft:trim]]</code> component. | ||
| Line 210: | Line 217: | ||
| ''Trim material'' | | ''Trim material'' | ||
|- | |- | ||
| | | 20 | ||
| ''Stored enchantments<br>[...]'' | | ''Stored enchantments<br>[...]'' | ||
| [[Minecraft:Enchantment]]s stored in <code>[[Minecraft:Data_component_format#stored_enchantments|minecraft:stored_enchantments]]</code> component. Meant to be used for [[Minecraft:Enchanted_Book|enchanted books]]. | | [[Minecraft:Enchantment]]s stored in <code>[[Minecraft:Data_component_format#stored_enchantments|minecraft:stored_enchantments]]</code> component. Meant to be used for [[Minecraft:Enchanted_Book|enchanted books]]. | ||
| {{tc|yes|style=text-align: center;}} | | {{tc|yes|style=text-align: center;}} | ||
|- | |- | ||
| | | 21 | ||
| ''Applied enchantments<br>[...]'' | | ''Applied enchantments<br>[...]'' | ||
| Enchantments applied on this item, stored in <code>[[Minecraft:Data_component_format#enchantments|minecraft:enchantments]]</code> component. | | Enchantments applied on this item, stored in <code>[[Minecraft:Data_component_format#enchantments|minecraft:enchantments]]</code> component. | ||
| {{tc|yes|style=text-align: center;}} | | {{tc|yes|style=text-align: center;}} | ||
|- | |- | ||
| rowspan=2 | | | rowspan=2 | 22 | ||
| {{tc|partial|Dyed}} | | {{tc|partial|Dyed}} | ||
| Shown when item has <code>[[Minecraft:Data_component_format#dyed_color|minecraft:dyed_color]]</code> component. | | Shown when item has <code>[[Minecraft:Data_component_format#dyed_color|minecraft:dyed_color]]</code> component. | ||
| Line 229: | Line 236: | ||
| {{tc|no|style=text-align: center;}} | | {{tc|no|style=text-align: center;}} | ||
|- | |- | ||
| | | 23 | ||
| ''Lore<br>[...]'' | | ''Lore<br>[...]'' | ||
| Custom text shown in tooltip, defined by <code>[[Minecraft:Data_component_format#lore|minecraft:lore]]</code> component.<br>By default it has <code>"dark_purple"</code> color and is italicized. | | Custom text shown in tooltip, defined by <code>[[Minecraft:Data_component_format#lore|minecraft:lore]]</code> component.<br>By default it has <code>"dark_purple"</code> color and is italicized. | ||
| {{tc|yes|style=text-align: center;}} | | {{tc|yes|style=text-align: center;}} | ||
|- | |-<!-- SULFUR_CUBE_CONTENT --> | ||
| rowspan=3 | | | rowspan=3 | 24 | ||
| {{tc|partial|''<empty space>''}} | | {{tc|partial|''<empty space>''}} | ||
| rowspan=3 | [[Minecraft:Attribute#Item_modifiers|Attribute modifiers]] applied when this item is held or equipped, defined in <code>[[Minecraft:Data_component_format#attribute_modifiers|minecraft:attribute_modifiers]]</code> component.<br>Note that this section may appear multiple times, if the component above contains many modifiers with different <code>slot</code> tags. | | rowspan=3 | [[Minecraft:Attribute#Item_modifiers|Attribute modifiers]] applied when this item is held or equipped, defined in <code>[[Minecraft:Data_component_format#attribute_modifiers|minecraft:attribute_modifiers]]</code> component.<br>Note that this section may appear multiple times, if the component above contains many modifiers with different <code>slot</code> tags. | ||
| Line 243: | Line 250: | ||
| ''Attributes<br>[...]'' | | ''Attributes<br>[...]'' | ||
|- | |- | ||
| | | 25 | ||
| {{tc|partial|Unbreakable}} | | {{tc|partial|Unbreakable}} | ||
| Shown when item is unbreakable, using <code>[[Minecraft:Data_component_format#unbreakable|minecraft:unbreakable]]</code> component. | | Shown when item is unbreakable, using <code>[[Minecraft:Data_component_format#unbreakable|minecraft:unbreakable]]</code> component. | ||
| {{tc|yes|style=text-align: center;}} | | {{tc|yes|style=text-align: center;}} | ||
|- | |- | ||
| rowspan=5 | | | rowspan=5 | 26 {{note|1=This section has been designed to be displayed '''only''' in Creative mode's item picker, meaning that it is '''not''' shown when item is located in player's hotbar, nor in Creative Inventory.<br>However, they are still visible in ''Saved Hotbars'' section, which may be more useful way to preview them than using <code>/data</code> command.}} | ||
| {{tc|partial|No Effects}} | | {{tc|partial|No Effects}} | ||
| Shown when item has <code>[[Minecraft:Data_component_format#suspicious_stew_effects|minecraft:suspicious_stew_effects]]</code> component, but is empty. | | Shown when item has <code>[[Minecraft:Data_component_format#suspicious_stew_effects|minecraft:suspicious_stew_effects]]</code> component, but is empty. | ||
| Line 265: | Line 272: | ||
| ''Attributes<br>[...]'' | | ''Attributes<br>[...]'' | ||
|- | |- | ||
| | | 27 | ||
| ''Honey amount'' | | ''Honey amount'' | ||
| Shown when item has <code>honey_level</code> tag in <code>[[Minecraft:Data_component_format#block_state|minecraft:block_state]]</code> component. Displayed naturally on [[Minecraft:Beehive|beehives]] and [[Minecraft:Bee_Nest|bee nests]]. | | Shown when item has <code>honey_level</code> tag in <code>[[Minecraft:Data_component_format#block_state|minecraft:block_state]]</code> component. Displayed naturally on [[Minecraft:Beehive|beehives]] and [[Minecraft:Bee_Nest|bee nests]]. | ||
| {{tc|yes|style=text-align: center;}} | | {{tc|yes|style=text-align: center;}} | ||
|- | |- | ||
| | | 28 | ||
| {{tc|partial|Disabled in Peaceful}} | | {{tc|partial|Disabled in Peaceful}} | ||
| Shown in Peaceful mode when item has <code>id</code> tag in <code>[[Minecraft:Data_component_format#entity_data|minecraft:entity_data]]</code> component, pointing to a mob which is not allowed in Peaceful.<br>[[Minecraft:Difficulty#Peaceful|See this article for more information]]. | | Shown in Peaceful mode when item has <code>id</code> tag in <code>[[Minecraft:Data_component_format#entity_data|minecraft:entity_data]]</code> component, pointing to a mob which is not allowed in Peaceful.<br>[[Minecraft:Difficulty#Peaceful|See this article for more information]]. | ||
| {{tc|yes|style=text-align: center;}} | | {{tc|yes|style=text-align: center;}} | ||
|- | |- | ||
| rowspan=4 | | | rowspan=4 | 29 | ||
| {{tc|partial|''<empty space>''}} | | {{tc|partial|''<empty space>''}} | ||
| rowspan=3 | Shown when item ID is <code>[[Minecraft:Monster_Spawner|minecraft:spawner]]</code> or <code>[[Minecraft:Trial_Spawner|minecraft:trial_spawner]]</code>. | | rowspan=3 | Shown when item ID is <code>[[Minecraft:Monster_Spawner|minecraft:spawner]]</code> or <code>[[Minecraft:Trial_Spawner|minecraft:trial_spawner]]</code>. | ||
| Line 288: | Line 295: | ||
| {{tc|yes|style=text-align: center;}} | | {{tc|yes|style=text-align: center;}} | ||
|- | |- | ||
| rowspan=3 | | | rowspan=3 | 30 | ||
| {{tc|partial|''<empty space>''}} | | {{tc|partial|''<empty space>''}} | ||
| rowspan=3 | Shows a list of blocks defined in <code>[[Minecraft:Data_component_format#can_break|minecraft:can_break]]</code> component that can be mined with this item. | | rowspan=3 | Shows a list of blocks defined in <code>[[Minecraft:Data_component_format#can_break|minecraft:can_break]]</code> component that can be mined with this item. | ||
| Line 297: | Line 304: | ||
| ''Block names<br>[...]'' | | ''Block names<br>[...]'' | ||
|- | |- | ||
| rowspan=3 | | | rowspan=3 | 31 | ||
| {{tc|partial|''<empty space>''}} | | {{tc|partial|''<empty space>''}} | ||
| rowspan=3 | Shows a list of blocks defined in <code>[[Minecraft:Data_component_format#can_place_on|minecraft:can_place_on]]</code> component on which this block can be placed. | | rowspan=3 | Shows a list of blocks defined in <code>[[Minecraft:Data_component_format#can_place_on|minecraft:can_place_on]]</code> component on which this block can be placed. | ||
| Line 306: | Line 313: | ||
| ''Block names<br>[...]'' | | ''Block names<br>[...]'' | ||
|- | |- | ||
| | | 32 | ||
| ''Durability'' | | ''Durability'' | ||
| Remaining and total [[Minecraft:Durability|durability]] of the tool item. Hidden if item contains <code>[[Minecraft:Data_component_format#unbreakable|minecraft:unbreakable]]</code> component. | | Remaining and total [[Minecraft:Durability|durability]] of the tool item. Hidden if item contains <code>[[Minecraft:Data_component_format#unbreakable|minecraft:unbreakable]]</code> component. | ||
| {{tc|no|style=text-align: center;}} | | {{tc|no|style=text-align: center;}} | ||
|- | |- | ||
| | | 33 | ||
| ''Item ID'' | | ''Item ID'' | ||
| Internal [[Minecraft:Java_Edition_data_values#Items|item ID]]. | | Internal [[Minecraft:Java_Edition_data_values#Items|item ID]]. | ||
| {{tc|no|style=text-align: center;}} | | {{tc|no|style=text-align: center;}} | ||
|- | |- | ||
| | | 34 | ||
| ''Number of components'' | | ''Number of components'' | ||
| Total number of [[Minecraft:Data_component_format|data components]]. | | Total number of [[Minecraft:Data_component_format|data components]]. | ||
| {{tc|no|style=text-align: center;}} | | {{tc|no|style=text-align: center;}} | ||
|- | |- | ||
| rowspan=3 | | | rowspan=3 | 35 | ||
| {{tc|partial|Warning:}} | | {{tc|partial|Warning:}} | ||
| rowspan=3 | Usage warning, shown on block items with <code>id</code> tag in <code>[[Minecraft:Data_component_format#block_entity_data|minecraft:block_entity_data]]</code> component.<br>This is the only section that cannot be hidden using <code>[[Minecraft:Data_component_format#tooltip_display|minecraft:tooltip_display]]</code> component. | | rowspan=3 | Usage warning, shown on block items with <code>id</code> tag in <code>[[Minecraft:Data_component_format#block_entity_data|minecraft:block_entity_data]]</code> component.<br>This is the only section that cannot be hidden using <code>[[Minecraft:Data_component_format#tooltip_display|minecraft:tooltip_display]]</code> component. | ||
| Line 331: | Line 338: | ||
|} | |} | ||
==== | ===== ''Bedrock Edition'' ===== | ||
When | {{BE}} tooltips display the following information. They are [[Minecraft:Formatting codes|formatted]] with <code>§</code> to make them show different colors or italics. | ||
Text in '''bold''' is directly shown as such on the tooltip. | |||
* Item name | |||
** Depending on the [[Minecraft:rarity]], this uses a color code. | |||
** Custom names created by the player, such as by renaming in an anvil or signing a book, are in italics (<code>§o</code>). These can override formatting codes. | |||
** The item name can be variable, such as for [[Minecraft:buckets of tropical fish]] and [[Minecraft:Filled map|filled maps]]. | |||
* [[Minecraft:Bundle]] contents (not in Creative inventory/recipe book): | |||
** When empty, displays "<code>§8</code> '''Can hold a mixed stack of items'''". | |||
** With items, displays the first 12 item types in slots that can be scrolled over, displaying a second tooltip containing only the selected item name above the bundle tooltip. With 13 item types or more, displays the first 11 items and an unselectable counter of the remaining item quantity. | |||
** Below, always shows the progress bar. | |||
* [[Minecraft:Map]] information: | |||
** '''Level 0/4''' (or any other available level) | |||
** '''Locked''' (only when the map is locked) | |||
* <code>§9</code> Item category from the [[Minecraft:Creative inventory]] or [[Minecraft:recipe book]], only shown when the "All" tab of the menu is opened.{{Until|be 26.50}} | |||
** Can be "'''Construction'''", "'''Equipment'''", "'''Items'''", or "'''Nature'''". Not shown when any of the above elements are displayed. | |||
*<code>§9</code> Item description:{{Upcoming|be 26.50}} | |||
{{collapse|content= | |||
* {{BlockLink|Anvil}}, {{BlockLink|Chipped Anvil}}, {{BlockLink|Damaged Anvil}}: Repair & enchant tools | |||
* {{BlockLink|Barrel}}, {{BlockLink|Chest}}, {{BlockLink|Shulker Box}}: Storage | |||
* {{BlockLink|Blast Furnace}}: Smelt metal faster | |||
* {{BlockLink|Brewing Stand}}: Brew potions | |||
* {{ItemLink|Brush}}: Excavate & brush | |||
* {{BlockLink|Cartography Table}}: Modify Maps | |||
* {{BlockLink|Cauldron}}: Holds liquids & potions | |||
* {{ItemLink|Compass}}: Points to world spawn | |||
* {{BlockLink|Composter}}: Make bone meal | |||
* {{BlockLink|Crafter}}: Automate crafting | |||
* {{BlockLink|Crafting Table}}: Make stuff | |||
* {{BlockLink|Dispenser}}: Automate actions | |||
* {{BlockLink|Dropper}}: Eject items | |||
* {{BlockLink|Enchanting Table}}: Enchant tools & books | |||
* {{ItemLink|Flint and Steel}}: Make fire | |||
* {{BlockLink|Furnace}}: Smelt & cook | |||
* {{BlockLink|Grindstone}}: Remove enchantments | |||
* {{BlockLink|Hopper}}: Add items to chest | |||
* {{BlockLink|Lectern}}: Display books | |||
* {{BlockLink|Loom}}: Decorate banners | |||
* {{BlockLink|Observer}}: Detects change | |||
* {{BlockLink|Piston}}: Push blocks | |||
* {{ItemLink|Recovery Compass}}: See where you died | |||
* {{BlockLink|Redstone Comparator}}: Reads signal strength | |||
* {{ItemLink|Shears}}: Cut & trim | |||
* {{BlockLink|Smithing Table}}: Upgrade tools & armor | |||
* {{BlockLink|Smoker}}: Cook food faster | |||
* {{BlockLink|Sticky Piston}}: Pull blocks | |||
* {{BlockLink|Stonecutter}}: Cut stone & copper | |||
* Redstone conductors: {{cd|§c}} Redstone conductor | |||
** {{BlockLink|Block of Redstone}} | |||
** {{BlockLink|Redstone Dust}} | |||
* Redstone-powered blocks: {{cd|§c}} Redstone powered | |||
** {{BlockLink|Crafter}} | |||
** {{BlockLink|Dispenser}} | |||
** {{BlockLink|Dropper}} | |||
** {{BlockLink|Piston}} | |||
** {{BlockLink|Powered Rail}} | |||
** {{BlockLink|Redstone Lamp}} | |||
** {{BlockLink|Sticky Piston}} | |||
* Redstone power sources: {{cd|§c}} Redstone power source | |||
** {{BlockLink|Daylight Detector}} | |||
** {{BlockLink|Observer}} | |||
** {{BlockLink|Redstone Comparator}} | |||
** {{BlockLink|Redstone Torch}}}} | |||
* [[Minecraft:Smithing Template|Smithing template]] description: | |||
** <code>§7</code> '''Smithing Template''' | |||
** ''line break{{Until|be 26.50}}'' | |||
** <code>§7</code> '''Applies to:'''{{Until|be 26.50}} | |||
** <code>§9</code> '''Armor''' (on armor trims) / '''Diamond Equipment''' (on [[Minecraft:Netherite Upgrades|netherite upgrades]]){{Until|be 26.50}} | |||
** <code>§7</code> '''Ingredients:'''{{Until|be 26.50}} | |||
** <code>§9</code> '''Ingots & Cristals''' (on armor trims) / '''Netherite Ingot''' (on netherite upgrades){{Until|be 26.50}} | |||
* <code>§7</code> [[Minecraft:Goat Horn|Goat horn]] instrument (e.g. '''Ponder''') | |||
* <code>§7</code> [[Minecraft:Shulker Box|Shulker box]] contents: | |||
** Displays the item names of the first 5 items in the shulker box followed by the stack size (e.g. '''String''' '''x64'''). | |||
** Displayes the amount of stacks not shown (e.g. '''and 6 more...''') | |||
* [[Minecraft:Banner]] patterns: | |||
** Displays all banner patterns preceded by their color. | |||
* <code>§7</code> [[Minecraft:Decorated Pot|Decorated pot]] configuration: | |||
** ''line break'' | |||
** Displays all items the decorated pot has been crafted with, either [[Minecraft:pottery sherds]] or [[Minecraft:Brick|bricks]]. The order is front, left, right, rear. | |||
* <code>§7</code> [[Minecraft:Written Book|Written book]] information: | |||
** Author, can be chosen in the [[Minecraft:Book and Quill|book and quill]]. This can override formatting codes in the tooltip. | |||
** Generation ('''Original''', '''Copy of original''', or '''Copy of a copy''') | |||
* [[Minecraft:Firework Rocket|Firework]] information: | |||
** Flight duration (e.g. '''Flight Duration: 3''') | |||
** All [[Minecraft:Firework Star|firework star]] effects, also shown per firework star. Each firework star effect is shown as follows, multiple can be on one firework rocket: | |||
*** Shape ('''Small Ball''', '''Large Ball''', '''Burst''', '''Star-shaped''', or '''Creeper-shaped''') | |||
*** All colors (e.g. '''Black, Light Blue, Gray, Gray, Lime, Pink''') | |||
*** '''Trail''', if applied | |||
*** '''Twinkle''', if applied | |||
* [[Minecraft:Effect]] information, shown on [[Minecraft:potions]] and [[Minecraft:Suspicious Stew|suspicious stew]] in Creative): | |||
** <code>§7</code> Effect name, level (if higher than 1), and duration (e.g. '''Slowness IV (0:20)'''). When the effect is negative, shown in red (<code>§c</code>). There can be multiple effects. | |||
** ''line break{{Until|be 26.50}}'' | |||
** <code>§5</code> '''When Applied:'''{{Until|be 26.50}} | |||
** Attribute information, e.g. ('''+2.99 Attack Damage'''). When positive, color coded blue (<code>§9</code>), when negative color coded red (<code>§c</code>). Can only show Speed and Attack Damage. | |||
* <code>§7</code> [[Minecraft:Music Disc|Music disc]] name (e.g. '''C418 - strad''') | |||
* [[Minecraft:Armor trim]] information: | |||
** <code>§7</code> Upgrade:{{Until|be 26.50}} | |||
** Armor trim name (e.g. '''Tide Armor Trim'''){{Until|be 26.50}} | |||
** Material (e.g. '''Diamond Material'''){{Until|be 26.50}} | |||
**Material and armor trim name (e.g. '''Diamond Tide Trim'''){{Upcoming|be 26.50}} | |||
***These are color coded depending on the material used with unique colors. | |||
* <code>§7</code> [[Minecraft:Enchantments]] (e.g. '''Feather Falling IV'''), can have multiple. Curses are color coded red (<code>§c</code>). | |||
* Attribute modifiers: | |||
** ''line break{{Until|be 26.50}}'' | |||
** <code>§7</code> Required armor slot (e.g. '''When on Head:'''){{Until|be 26.50}} | |||
** <code>§9</code> Attribute modifier (e.g. '''+11 Armor'''). Only shows Armor, Armor Toughness, Knockback Resistance, Attack Damage, Chop Efficiency,{{Upcoming|be 26.50}} Mining Efficiency,{{Upcoming|be 26.50}} and Dig Efficicency.{{Upcoming|be 26.50}} | |||
* '''Dyed''', shown on dyed [[Minecraft:Leather Armor|leather armor]] and [[Minecraft:Wolf Armor|wolf armor]]. Preceded by a line break. | |||
* [[Minecraft:Item components#NBT components|NBT components]]: | |||
** <code>can_place_on:</code> {{Info needed}} | |||
** <code>can_destroy:</code> {{Info needed}} | |||
** <code>lock_in_inventory:</code> '''☆ Can't Drop Items can't be:''' | |||
*** '''- dropped''' | |||
*** '''- removed''' | |||
*** '''- crafted with''' | |||
** <code>lock_in_slot:</code> '''★ Can't Move Items can't be:''' | |||
*** '''- moved''' | |||
*** '''- dropped''' | |||
*** '''- removed''' | |||
*** '''- crafted with''' | |||
** <code>keep_on_death:</code> '''This item is not lost on death''' | |||
* <code>§o</code><code>§5</code> '''''(+DATA)''''' | |||
** Shown on items obtained using {{Keys|Control+}}{{Control|Pick block}}, making them contain data (such as a [[Minecraft:Command Block|command block]] with commands). | |||
=== Effect tooltips === | === Effect tooltips === | ||
| Line 340: | Line 469: | ||
=== Option tooltips === | === Option tooltips === | ||
[[File:OptionTooltip.png|thumb|An option tooltip.]] | [[File:OptionTooltip.png|thumb|An option tooltip.]] | ||
{{IN|je}}, when certain buttons, text fields, and sliders are hovered over, or focused on when navigating with {{Key|Tab}}, they show a description in the form of a tooltip. The “Key Binds” options menu also has tooltips to provide details on conflicts between keys. | |||
{{IN|be}}, most options have descriptions that are always visible instead of tooltips. Menu tooltips are only used in the [[Minecraft:Game Menu|game menu]] for the small buttons on the bottom, and a message with the tooltip texture appears in the [[Minecraft:chat]] if there are unread messages below. | |||
== History == | == History == | ||
| Line 362: | Line 492: | ||
|{{HistoryLine||1.13.1|dev=18w33a|[[Minecraft:Tropical fish bucket]]s now display the type of fish they are holding on their tooltip.}} | |{{HistoryLine||1.13.1|dev=18w33a|[[Minecraft:Tropical fish bucket]]s now display the type of fish they are holding on their tooltip.}} | ||
|{{HistoryLine||1.14|dev=18w43c|Added [[Minecraft:crossbow]]s, which show what projectile is loaded on their tooltip when in that state.}} | |{{HistoryLine||1.14|dev=18w43c|Added [[Minecraft:crossbow]]s, which show what projectile is loaded on their tooltip when in that state.}} | ||
|{{HistoryLine|| | |{{HistoryLine||1.16|dev=pre1|Added option tooltips.}} | ||
|{{HistoryLine||1.17|dev=20w45a|Added [[Minecraft:bundle]]s, which list their contents on their item tooltip.}} | |{{HistoryLine||1.17|dev=20w45a|Added [[Minecraft:bundle]]s, which list their contents on their item tooltip.}} | ||
|{{HistoryLine|||dev=20w46a|Changed how bundles display their contents on their tooltip.}} | |{{HistoryLine|||dev=20w46a|Changed how bundles display their contents on their tooltip.}} | ||
| Line 398: | Line 528: | ||
|{{HistoryLine||1.20.10|dev=Preview 1.20.10.20|[[Minecraft:Decorated pot]]s crafted with at least one [[Minecraft:pottery sherd]] now list their crafting ingredients on their tooltip.}} | |{{HistoryLine||1.20.10|dev=Preview 1.20.10.20|[[Minecraft:Decorated pot]]s crafted with at least one [[Minecraft:pottery sherd]] now list their crafting ingredients on their tooltip.}} | ||
|{{HistoryLine||1.21.111|dev=Preview 1.21.110.22|Added Armor and Armor Toughness values to vanilla [[Minecraft:armor]] tooltips, not working with [[Minecraft:add-on]] armors.}} | |{{HistoryLine||1.21.111|dev=Preview 1.21.110.22|Added Armor and Armor Toughness values to vanilla [[Minecraft:armor]] tooltips, not working with [[Minecraft:add-on]] armors.}} | ||
|{{HistoryLine||26.0|dev=Preview 26.0.23|Added Armor and Armor Toughness values to [[Minecraft:add-on]] [[Minecraft:armor]] tooltips and all vanilla mob armor.}} | |||
|{{HistoryLine|bedrock upcoming}} | |||
|{{HistoryLine||26.50|dev=Preview 26.50.24|Added item descriptions for many different items, replacing recipe book categories.|Added "Chop Efficiency", "Mining Efficiency", and "Dig Efficiency" attribute modifiers.|Removed some line breaks and texts like "When on Head:" as well as smithing ingredients. Condensed armor trim information into one line.}} | |||
}} | }} | ||
| Line 411: | Line 544: | ||
}} | }} | ||
<gallery> | <gallery> | ||
OldStatsTooltip.png|The old ''Java Edition'' item tooltip as seen in the [[Minecraft:statistics]] menu before [[Minecraft:Java Edition 1.20.2|1.20.2]] | OldStatsTooltip.png|The old ''Java Edition'' item tooltip as seen in the [[Minecraft:statistics]] menu before [[Minecraft:Java Edition 1.20.2|1.20.2]] | ||
</gallery> | </gallery> | ||
| Line 420: | Line 553: | ||
===Examples=== | ===Examples=== | ||
<gallery> | <gallery> | ||
File:Tooltip1.png|An example of a [[Minecraft:smithing template]] tooltip | File:Tooltip1.png|An example of a [[Minecraft:smithing template]] tooltip | ||
File:Tooltip2.png|An example of a tooltip for a trimmed piece of [[Minecraft:armor]] | File:Tooltip2.png|An example of a tooltip for a trimmed piece of [[Minecraft:armor]] | ||
File:TooltipIII.png|An example of a [[Minecraft:painting]] tooltip in the | File:TooltipIII.png|An example of a [[Minecraft:painting]] tooltip in the Creative inventory {{in|java}} | ||
File:Tooltip4.png|An example of a [[Minecraft:goat horn]] tooltip | File:Tooltip4.png|An example of a [[Minecraft:goat horn]] tooltip | ||
File:Written Book tooltip.png|An example of a [[Minecraft:written book]] tooltip. | File:Written Book tooltip.png|An example of a [[Minecraft:written book]] tooltip | ||
File:Tooltip7.png|An example of a [[Minecraft:crossbow]] tooltip | File:Bedrock game menu tooltip.png|Tooltip in the game menu | ||
File:Tooltip5.png|An example of a [[Minecraft:decorated pot]] tooltip | File:Tooltip7.png|An example of a [[Minecraft:crossbow]] tooltip | ||
File:Tooltip8.png|An example of a [[Minecraft:bucket of tropical fish]] tooltip {{in|java}} | File:Tooltip5.png|An example of a [[Minecraft:decorated pot]] tooltip | ||
File:Tooltip6.png|An example of a key bind conflict tooltip {{in|java}} | File:Tooltip8.png|An example of a [[Minecraft:bucket of tropical fish]] tooltip {{in|java}} | ||
File:Tooltip6.png|An example of a key bind conflict tooltip {{in|java}} | |||
</gallery> | </gallery> | ||
Latest revision as of 11:26, 10 August 2026
A tooltip is extra information that appears when hovering over or focusing on Minecraft:items or certain UI elements.
Types of tooltips
Item tooltips
When hovering over an Minecraft:item with the cursor while in the Minecraft:inventory or a Minecraft:container screen, a tooltip with the item’s name appears next to the cursor. When playing with touch controls, tapping an item displays its tooltip on the bottom of the screen. Some items display extra information on their tooltips, such as Minecraft:enchantments and Minecraft:shulker box contents. Template:IN, basic item tooltips are also visible in the "Items" section of the Minecraft:statistics menu when hovering over a block or item on the left side of the screen.
Template:IN, advanced tooltips, including item IDs and the exact remaining Minecraft:durability of tools, can be displayed by pressing the Minecraft:debug hotkey Template:Key.
Description of item tooltip lines
Java Edition
The table below describes all possible tooltip lines Template:In, including these shown when advanced tooltips are enabled. Note that table preserves the order of these lines too.
In "Content" column, cells with yellow background means the exact text displayed. Additionally, cells marked "[...]" means that this field has variable lines count.
| Order | Content | Description | Template:Tooltip |
|---|---|---|---|
| 0 | Item name | The item name. Some data components are able to alter the default item name (note that minecraft:custom_name component has highest priority and overrides any other alterations).
|
Template:Tc |
| 1 | Template:Tc | Graphical representation of the bundle's contents and its fullness bar. Shown only on bundle items. If bundle is empty, the description text will be printed, otherwise bundle contents stored in minecraft:bundle_contents will be shown.This is the only case where information is presented in other form than text. |
Template:Tc |
| Bundle contents | |||
| Bundle fullness bar | |||
| 2 | Creative inventory section | Section name to which the item belongs. Shown when player is in Creative mode, and only in Search Items, Survival Inventory and Saved Hotbars tabs. Note that in most cases this text will not appear if item has additional data components Template:Verify. |
Template:Tc |
| 3 | Template:Tc | Description of smithing template, shown only on smithing template items. | Template:Tc |
| Template:Tc | |||
| Template:Tc | |||
| Applicable items | |||
| Template:Tc | |||
| Ingredients | |||
| 4 | Painting's name | Painting description, shown when item ID is minecraft:painting and have valid minecraft:painting/variant component.
|
Template:Tc |
| Painting's author | |||
| Painting's dimensions | |||
| 5 | Template:Tc | Minecraft:Disc fragment description, shown when item ID is Template:Cd | Template:Tc |
| 6 | Tropical fish's pattern | The pattern of tropical fish, defined by minecraft:tropical_fish/pattern component.
|
Template:Tc |
| Tropical fish's base and pattern color | The base and pattern colors of tropical fish, defined by minecraft:tropical_fish/base_color and minecraft:tropical_fish/pattern_color components.
|
Template:Tc | |
| 7 | Goat horn's instrument | Goat Horn instrument, defined by minecraft:instrument component.
|
Template:Tc |
| 8 | Template:Tc | Shown when item has minecraft:map_id component pointing to a unknown map data.
|
Template:Tc |
| Map ID | Shown when item has valid minecraft:map_id component, but it has neither the Template:DCL nor the Template:DCL component.
|
Template:Tc | |
| Template:Tc | This line appears only if map with specified Template:Cd locked or Template:Cd is 0 (LOCK). See this article for more information. |
Template:Tc | |
| Map scaling | Additional information about map scaling and level. | Template:Tc | |
| Map level | |||
| 9 | Number of bees | The number of bees (entities) hiding inside, defined by minecraft:bees component. Displayed naturally on beehives and bee nests.
|
Template:Tc |
| 10 | Template:Tc | Indicates that this item has minecraft:container_loot component.
|
Template:Tc |
| 11 | 1st item name + amount | Item names "held" in first five slots of this item, defined by minecraft:container component.When item count is 6 or higher, the line with remaining items will be shown. |
Template:Tc |
| 2nd item name + amount | |||
| 3rd item name + amount | |||
| 4th item name + amount | |||
| 5th item name + amount | |||
| Count of the rest items (not their total amount) | |||
| 12 | 1st banner pattern | Six first banner patterns, defined by minecraft:banner_patterns component.Note that banners with more than 6 patterns are uncraftable, and can be obtained only with commands. |
Template:Tc |
| 2nd banner pattern | |||
| 3rd banner pattern | |||
| 4th banner pattern | |||
| 5th banner pattern | |||
| 6th banner pattern | |||
| 13 | Template:Tc | Materials used to craft this decorated pot, defined by minecraft:pot_decorations component.
|
Template:Tc |
| Front side material | |||
| Left side material | |||
| Right side material | |||
| Rear side material | |||
| 14 | Book's author | Shown when minecraft:written_book_content component is present. Meant for written books.
|
Template:Tc |
| Book's generation | |||
| 15 | Projectile name | A section describing charged projectile, defined by minecraft:charged_projectiles component. Meant to be used with crossbows.Note that this section may appear multiple times, if the item contains multiple projectiles loaded. |
Template:Tc |
| Projectile's tooltip lines Template:Note [...] | |||
| 16 | Flight duration | Shown when item has flight_duration tag in minecraft:fireworks component.
|
Template:Tc |
| Firework effects [...] |
All firework effects applied with firework stars. | Template:Tc | |
| 17 | Template:Tc | Shown when item has minecraft:potion_contents component, but is empty.
|
Template:Tc |
| Effect name | A single primary effect to be applied. Shown when item has filled potion tag in minecraft:potion_contents component.
|
Template:Tc | |
| Custom effects [...] |
List of custom effects to be applied. Shown when item has entries in custom_effects list in minecraft:potion_contents component.
|
Template:Tc | |
| Template:Tc | A section describing how item will affect on player's attributes when consumed. | Template:Tc | |
| Template:Tc | |||
| Attributes [...] | |||
| 18 | Music disc name | Shown when item has minecraft:jukebox_playable component with valid value.
|
Template:Tc |
| 19 | Template:Tc | Armor trim upgrade, defined by minecraft:trim component.
|
Template:Tc |
| Trim pattern | |||
| Trim material | |||
| 20 | Stored enchantments [...] |
Minecraft:Enchantments stored in minecraft:stored_enchantments component. Meant to be used for enchanted books.
|
Template:Tc |
| 21 | Applied enchantments [...] |
Enchantments applied on this item, stored in minecraft:enchantments component.
|
Template:Tc |
| 22 | Template:Tc | Shown when item has minecraft:dyed_color component.
|
Template:Tc |
| Color | A hexadecimal color code. Replaces text above, if advanced tooltips are enabled. | Template:Tc | |
| 23 | Lore [...] |
Custom text shown in tooltip, defined by minecraft:lore component.By default it has "dark_purple" color and is italicized.
|
Template:Tc |
| 24 | Template:Tc | Attribute modifiers applied when this item is held or equipped, defined in minecraft:attribute_modifiers component.Note that this section may appear multiple times, if the component above contains many modifiers with different slot tags.
|
Template:Tc |
| "When (...)" field Template:Note | |||
| Attributes [...] | |||
| 25 | Template:Tc | Shown when item is unbreakable, using minecraft:unbreakable component.
|
Template:Tc |
| 26 Template:Note | Template:Tc | Shown when item has minecraft:suspicious_stew_effects component, but is empty.
|
Template:Tc |
| Effects [...] |
List of effects passed in minecraft:suspicious_stew_effects list.
|
Template:Tc | |
| Template:Tc | A section describing how item will affect on player's attributes when consumed. | Template:Tc | |
| Template:Tc | |||
| Attributes [...] | |||
| 27 | Honey amount | Shown when item has honey_level tag in minecraft:block_state component. Displayed naturally on beehives and bee nests.
|
Template:Tc |
| 28 | Template:Tc | Shown in Peaceful mode when item has id tag in minecraft:entity_data component, pointing to a mob which is not allowed in Peaceful.See this article for more information. |
Template:Tc |
| 29 | Template:Tc | Shown when item ID is minecraft:spawner or minecraft:trial_spawner.
|
Template:Tc |
| Template:Tc | |||
| Template:Tc | |||
| Spawner entity name | Shown when item ID is minecraft:spawner or minecraft:trial_spawner and has SpawnData or spawn_data tag respectively in minecraft:block_entity_data component.
|
Template:Tc | |
| 30 | Template:Tc | Shows a list of blocks defined in minecraft:can_break component that can be mined with this item.
|
Template:Tc |
| Template:Tc | |||
| Block names [...] | |||
| 31 | Template:Tc | Shows a list of blocks defined in minecraft:can_place_on component on which this block can be placed.
|
Template:Tc |
| Template:Tc | |||
| Block names [...] | |||
| 32 | Durability | Remaining and total durability of the tool item. Hidden if item contains minecraft:unbreakable component.
|
Template:Tc |
| 33 | Item ID | Internal item ID. | Template:Tc |
| 34 | Number of components | Total number of data components. | Template:Tc |
| 35 | Template:Tc | Usage warning, shown on block items with id tag in minecraft:block_entity_data component.This is the only section that cannot be hidden using minecraft:tooltip_display component.
|
Template:Tc |
| Template:Tc | |||
| Template:Tc |
Bedrock Edition
Template:BE tooltips display the following information. They are formatted with § to make them show different colors or italics.
Text in bold is directly shown as such on the tooltip.
- Item name
- Depending on the Minecraft:rarity, this uses a color code.
- Custom names created by the player, such as by renaming in an anvil or signing a book, are in italics (
§o). These can override formatting codes. - The item name can be variable, such as for Minecraft:buckets of tropical fish and filled maps.
- Minecraft:Bundle contents (not in Creative inventory/recipe book):
- When empty, displays "
§8Can hold a mixed stack of items". - With items, displays the first 12 item types in slots that can be scrolled over, displaying a second tooltip containing only the selected item name above the bundle tooltip. With 13 item types or more, displays the first 11 items and an unselectable counter of the remaining item quantity.
- Below, always shows the progress bar.
- When empty, displays "
- Minecraft:Map information:
- Level 0/4 (or any other available level)
- Locked (only when the map is locked)
§9Item category from the Minecraft:Creative inventory or Minecraft:recipe book, only shown when the "All" tab of the menu is opened.Template:Until- Can be "Construction", "Equipment", "Items", or "Nature". Not shown when any of the above elements are displayed.
§9Item description:Template:Upcoming
- Smithing template description:
§7Smithing Template- line breakTemplate:Until
§7Applies to:Template:Until§9Armor (on armor trims) / Diamond Equipment (on netherite upgrades)Template:Until§7Ingredients:Template:Until§9Ingots & Cristals (on armor trims) / Netherite Ingot (on netherite upgrades)Template:Until
§7Goat horn instrument (e.g. Ponder)§7Shulker box contents:- Displays the item names of the first 5 items in the shulker box followed by the stack size (e.g. String x64).
- Displayes the amount of stacks not shown (e.g. and 6 more...)
- Minecraft:Banner patterns:
- Displays all banner patterns preceded by their color.
§7Decorated pot configuration:- line break
- Displays all items the decorated pot has been crafted with, either Minecraft:pottery sherds or bricks. The order is front, left, right, rear.
§7Written book information:- Author, can be chosen in the book and quill. This can override formatting codes in the tooltip.
- Generation (Original, Copy of original, or Copy of a copy)
- Firework information:
- Flight duration (e.g. Flight Duration: 3)
- All firework star effects, also shown per firework star. Each firework star effect is shown as follows, multiple can be on one firework rocket:
- Shape (Small Ball, Large Ball, Burst, Star-shaped, or Creeper-shaped)
- All colors (e.g. Black, Light Blue, Gray, Gray, Lime, Pink)
- Trail, if applied
- Twinkle, if applied
- Minecraft:Effect information, shown on Minecraft:potions and suspicious stew in Creative):
§7Effect name, level (if higher than 1), and duration (e.g. Slowness IV (0:20)). When the effect is negative, shown in red (§c). There can be multiple effects.- line breakTemplate:Until
§5When Applied:Template:Until- Attribute information, e.g. (+2.99 Attack Damage). When positive, color coded blue (
§9), when negative color coded red (§c). Can only show Speed and Attack Damage.
§7Music disc name (e.g. C418 - strad)- Minecraft:Armor trim information:
§7Upgrade:Template:Until- Armor trim name (e.g. Tide Armor Trim)Template:Until
- Material (e.g. Diamond Material)Template:Until
- Material and armor trim name (e.g. Diamond Tide Trim)Template:Upcoming
- These are color coded depending on the material used with unique colors.
§7Minecraft:Enchantments (e.g. Feather Falling IV), can have multiple. Curses are color coded red (§c).- Attribute modifiers:
- line breakTemplate:Until
§7Required armor slot (e.g. When on Head:)Template:Until§9Attribute modifier (e.g. +11 Armor). Only shows Armor, Armor Toughness, Knockback Resistance, Attack Damage, Chop Efficiency,Template:Upcoming Mining Efficiency,Template:Upcoming and Dig Efficicency.Template:Upcoming
- Dyed, shown on dyed leather armor and wolf armor. Preceded by a line break.
- NBT components:
can_place_on:Template:Info neededcan_destroy:Template:Info neededlock_in_inventory:☆ Can't Drop Items can't be:- - dropped
- - removed
- - crafted with
lock_in_slot:★ Can't Move Items can't be:- - moved
- - dropped
- - removed
- - crafted with
keep_on_death:This item is not lost on death
§o§5(+DATA)- Shown on items obtained using Template:KeysTemplate:Control, making them contain data (such as a command block with commands).
Effect tooltips
When Minecraft:effects in the Minecraft:inventory are displayed in the compact style, hovering over an effect icon displays more information about that effect.
Option tooltips
Template:IN, when certain buttons, text fields, and sliders are hovered over, or focused on when navigating with Template:Key, they show a description in the form of a tooltip. The “Key Binds” options menu also has tooltips to provide details on conflicts between keys.
Template:IN, most options have descriptions that are always visible instead of tooltips. Menu tooltips are only used in the game menu for the small buttons on the bottom, and a message with the tooltip texture appears in the Minecraft:chat if there are unread messages below.
History
Java Edition
Bedrock Edition
Legacy Console Edition
-
The old Java Edition item tooltip as seen in the Minecraft:statistics menu before 1.20.2
Issues
Gallery
Examples
-
An example of a Minecraft:smithing template tooltip
-
An example of a tooltip for a trimmed piece of Minecraft:armor
-
An example of a Minecraft:painting tooltip in the Creative inventory Template:In
-
An example of a Minecraft:goat horn tooltip
-
An example of a Minecraft:written book tooltip
-
Tooltip in the game menu
-
An example of a Minecraft:crossbow tooltip
-
An example of a Minecraft:decorated pot tooltip
-
An example of a Minecraft:bucket of tropical fish tooltip Template:In
-
An example of a key bind conflict tooltip Template:In
Notes
References
<references />