public enum ItemColorBlueprint extends java.lang.Enum<ItemColorBlueprint> implements net.minecraft.client.renderer.color.IItemColor
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
int |
getColorFromItemstack(net.minecraft.item.ItemStack stack,
int tintIndex) |
static ItemColorBlueprint |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ItemColorBlueprint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemColorBlueprint INSTANCE
public static ItemColorBlueprint[] values()
for (ItemColorBlueprint c : ItemColorBlueprint.values()) System.out.println(c);
public static ItemColorBlueprint valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getColorFromItemstack(net.minecraft.item.ItemStack stack,
int tintIndex)
getColorFromItemstack in interface net.minecraft.client.renderer.color.IItemColor