Interface DyedItemColor
- All Superinterfaces:
ShownInTooltip<DyedItemColor>
@NullMarked
@Experimental
@NonExtendable
public interface DyedItemColor
extends ShownInTooltip<DyedItemColor>
Represents a color applied to a dyeable item.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptioncolor()
Color of the item.static DyedItemColor.Builder
static DyedItemColor
dyedItemColor
(Color color, boolean showInTooltip) Methods inherited from interface io.papermc.paper.datacomponent.item.ShownInTooltip
showInTooltip, showInTooltip
-
Method Details
-
dyedItemColor
@Contract(value="_, _ -> new", pure=true) static DyedItemColor dyedItemColor(Color color, boolean showInTooltip) -
dyedItemColor
-
color
Color of the item.- Returns:
- color
-