public enum PaletteType extends java.lang.Enum<PaletteType>
Modifier and Type | Method and Description |
---|---|
int |
highestBitsPerValue() |
int |
size() |
static PaletteType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PaletteType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaletteType BLOCKS
public static final PaletteType BIOMES
public static PaletteType[] values()
for (PaletteType c : PaletteType.values()) System.out.println(c);
public static PaletteType 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 size()
public int highestBitsPerValue()