User Tools

Site Tools


items:item_components:dyeable

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
items:item_components:dyeable [2024/04/19 13:27] – removed - external edit (Unknown date) 127.0.0.1items:item_components:dyeable [2024/04/19 13:27] (current) – ↷ Links adapted because of a move operation errorcraft
Line 1: Line 1:
 +====== minecraft:dyeable ======
 +The ''minecraft:dyeable'' item component allows this item to dyed using items with the [[items:item_components:dye|minecraft:dye]] item component.
 +This item component is usually combined with [[items:item_components:tinted|minecraft:tinted]].
 +Note that adding your item to the ''#minecraft:dyeable'' item tag is not necessary, as it checks for the presence of this item component instead.
  
 +
 +===== Fields =====
 +^  Name  ^  Description  ^  Type  ^  Default Value  ^
 +| ''default_color'' | The default color to display if the item stack has no [[mc>Item_format/1.20.5#dyed_color|minecraft:dyed_color]] item stack component. | An integer | |
 +
 +
 +===== Example =====
 +<code javascript>
 +{
 +  "default_color": -6265536
 +}
 +</code>