ItemColorStateBuild
Callable
Parameters
c: Character
The character being colored
item: Item
The item being colored
x: number
The x-coordinate at which to draw the UI
y: number
The y-coordinate at which to draw the UI
width: number
The width the UI should be drawn at
height: number
The height the UI should be drawn at
optionalincludeResetButton: boolean = false
Whether or not to include the "Reset to default" button
Returns void
- Nothing
Builds the item color UI's current state based on the provided character, item and position parameters. This only rebuilds the state if needed.