public class ItemColors
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.Map<IRegistryDelegate<Item>,IItemColor> |
colors |
Constructor and Description |
---|
ItemColors() |
Modifier and Type | Method and Description |
---|---|
int |
getColor(ItemStack stack,
int tintIndex) |
static ItemColors |
init(BlockColors colors) |
void |
register(IItemColor itemColor,
IItemProvider... itemsIn) |
private final java.util.Map<IRegistryDelegate<Item>,IItemColor> colors
public static ItemColors init(BlockColors colors)
public int getColor(ItemStack stack, int tintIndex)
public void register(IItemColor itemColor, IItemProvider... itemsIn)