DyedItemColor
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Implements
Undocumented Interfaces
TooltipProvider
Members
static of(rgb as int, showInTooltip as bool) as DyedItemColor
Creates a new DyedItemColor with the given RGB color and whether it should show in the tooltip.
Returns: The new DyedItemColor.
Parameters:
rgb: int
Type: int
- The RGB color of the DyedItemColor. showInTooltip: bool
Type: bool
- Whether the DyedItemColor should show in the tooltip.
Return Type:
DyedItemColor
Getter
Gets the RGB color of the DyedItemColor.
Return Type:
int
Getter
Gets whether the DyedItemColor should show in the tooltip.
Return Type:
bool
withTooltip(tooltip as bool) as DyedItemColor
Sets whether the DyedItemColor should show in the tooltip.
Returns: The DyedItemColor with the new tooltip setting.
Parameters:
tooltip: bool
Type: bool
- Whether the DyedItemColor should show in the tooltip.
Return Type:
DyedItemColor