@Environment(value=CLIENT) public static enum TutorialToast.Type extends Enum<TutorialToast.Type>
Enum Constant and Description |
---|
MOUSE |
MOVEMENT_KEYS |
RECIPE_BOOK |
SOCIAL_INTERACTIONS |
TREE |
WOODEN_PLANKS |
Modifier and Type | Field and Description |
---|---|
private int |
textureSlotX |
private int |
textureSlotY |
Modifier and Type | Method and Description |
---|---|
void |
drawIcon(MatrixStack matrices,
DrawableHelper helper,
int x,
int y) |
static TutorialToast.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TutorialToast.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TutorialToast.Type MOVEMENT_KEYS
public static final TutorialToast.Type MOUSE
public static final TutorialToast.Type TREE
public static final TutorialToast.Type RECIPE_BOOK
public static final TutorialToast.Type WOODEN_PLANKS
public static final TutorialToast.Type SOCIAL_INTERACTIONS
private final int textureSlotX
private final int textureSlotY
public static TutorialToast.Type[] values()
for (TutorialToast.Type c : TutorialToast.Type.values()) System.out.println(c);
public static TutorialToast.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic void drawIcon(MatrixStack matrices, DrawableHelper helper, int x, int y)