public static enum ItemDescription.Palette extends java.lang.Enum<ItemDescription.Palette>
| Enum Constant and Description |
|---|
Blue |
Gray |
Green |
Purple |
Red |
Yellow |
| Modifier and Type | Field and Description |
|---|---|
net.minecraft.util.text.TextFormatting |
color |
net.minecraft.util.text.TextFormatting |
hColor |
| Modifier and Type | Method and Description |
|---|---|
static ItemDescription.Palette |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ItemDescription.Palette[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemDescription.Palette Blue
public static final ItemDescription.Palette Green
public static final ItemDescription.Palette Yellow
public static final ItemDescription.Palette Red
public static final ItemDescription.Palette Purple
public static final ItemDescription.Palette Gray
public net.minecraft.util.text.TextFormatting color
public net.minecraft.util.text.TextFormatting hColor
public static ItemDescription.Palette[] values()
for (ItemDescription.Palette c : ItemDescription.Palette.values()) System.out.println(c);
public static ItemDescription.Palette 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 null