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.
import crafttweaker.api.item.component.DyedItemColor;
Implements
Undocumented Interfaces
TooltipProvider
Members
static of(rgb as int, showInTooltip as bool) as DyedItemColor
DyedItemColor.of(myInt, myBool);
Parameters:
rgb: int
Type: int
showInTooltip: bool
Type: bool
Return Type:
DyedItemColor
Getter
// DyedItemColor.rgb as intmyDyedItemColor.rgb
Return Type:
int
Getter
// DyedItemColor.showInTooltip as boolmyDyedItemColor.showInTooltip
Return Type:
bool
withTooltip(tooltip as bool) as DyedItemColor
myDyedItemColor.withTooltip(myBool);
Parameters:
tooltip: bool
Type: bool
Return Type:
DyedItemColor