Item component: minecraft:tooltip_style
Minecraft’s tooltip style item property.
Access and syntax
Section titled “Access and syntax”Hold an item in authorized Build/Dev mode. The generic component command avoids collisions with legacy subcommands.
/item component minecraft:tooltip_style/item component minecraft:tooltip_style clear/item component minecraft:tooltip_style resetThe first command inspects the effective value. clear removes the component; reset restores the material’s default. These examples do not require inventing a structured value.
Setting a value
Section titled “Setting a value”Supply the component’s Minecraft component-value SNBT after the key. Its scalar/list/object shape and registry fields are validated by the running Minecraft version. Use a compatible material and inspect the result before using it in gameplay.
/item component minecraft:tooltip_style <component-value SNBT>Angle-bracket text is a syntax placeholder, not a literal accepted value. See component editing for complete scalar and structured examples.
Limits and failure behavior
Section titled “Limits and failure behavior”Each command changes one component. Input is bounded to 16,384 characters and 32 nested levels. Invalid input leaves the held item unchanged; unrelated metadata/stack amount is preserved. Components with registry keys require existing valid entries; a key does not create an asset or a game feature by itself.
Direct names and aliases
Section titled “Direct names and aliases”A direct registry-name command exists where no legacy item command occupies that name. Underscore-free/friendly aliases are registered only when available. Use the generic form above when in doubt; /help item and completion reflect the live registry.