tint

@NotNull
abstract fun tint(@NotNull itemStack: @NotNull PlatformItemStack, rgb: Int): @NotNull PlatformItemStack

Applies a tint color to an item stack.

Return

the tinted item stack

Since

1.15.2

Parameters

itemStack

the item to tint

rgb

the RGB color value