/item component
Inspect or edit a supported held-item component.
Syntax
Section titled “Syntax”/item component <component> [value|clear|reset]Use in authorized Build or Dev mode. Hold the item to inspect/edit, except obtaining items with get.
Behavior and access
Section titled “Behavior and access”No arguments lists effective components. Component name alone inspects it. A value applies SNBT; clear removes, reset restores the material default. Direct component shortcuts also exist where names do not collide.
Example
Section titled “Example”/item component minecraft:rarityRelated guides
Section titled “Related guides”Plot management · Item editing · Item components · Player tools
Command identifier: item component.