@Environment(value=CLIENT) public class ItemColors extends Object
Modifier and Type | Field and Description |
---|---|
private IdList<ItemColorProvider> |
providers |
Constructor and Description |
---|
ItemColors() |
Modifier and Type | Method and Description |
---|---|
static ItemColors |
create(BlockColors blockColors) |
int |
getColorMultiplier(ItemStack item,
int tintIndex) |
void |
register(ItemColorProvider mapper,
ItemConvertible[] items) |
private final IdList<ItemColorProvider> providers
public static ItemColors create(BlockColors blockColors)
public int getColorMultiplier(ItemStack item, int tintIndex)
public void register(ItemColorProvider mapper, ItemConvertible[] items)