Package net.minecraft.client.toast
Enum TutorialToast.Type
- All Implemented Interfaces:
Serializable,Comparable<TutorialToast.Type>,java.lang.constant.Constable
- Enclosing class:
- TutorialToast
@Environment(CLIENT) public static enum TutorialToast.Type extends Enum<TutorialToast.Type>
- Mappings:
Namespace Name official dtd$aintermediary net/minecraft/class_372$class_373named net/minecraft/client/toast/TutorialToast$Type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description MOUSEMOVEMENT_KEYSRECIPE_BOOKRIGHT_CLICKSOCIAL_INTERACTIONSTREEWOODEN_PLANKS -
Field Summary
Fields Modifier and Type Field Description private inttextureSlotXprivate inttextureSlotY -
Constructor Summary
Constructors Modifier Constructor Description privateType(int textureSlotX, int textureSlotY) -
Method Summary
Modifier and Type Method Description voiddrawIcon(MatrixStack matrices, DrawableHelper helper, int x, int y)static TutorialToast.TypevalueOf(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.
-
Enum Constant Details
-
MOVEMENT_KEYS
- Mappings:
Namespace Name Mixin selector official aLdtd$a;a:Ldtd$a;intermediary field_2230Lnet/minecraft/class_372$class_373;field_2230:Lnet/minecraft/class_372$class_373;named MOVEMENT_KEYSLnet/minecraft/client/toast/TutorialToast$Type;MOVEMENT_KEYS:Lnet/minecraft/client/toast/TutorialToast$Type;
-
MOUSE
- Mappings:
Namespace Name Mixin selector official bLdtd$a;b:Ldtd$a;intermediary field_2237Lnet/minecraft/class_372$class_373;field_2237:Lnet/minecraft/class_372$class_373;named MOUSELnet/minecraft/client/toast/TutorialToast$Type;MOUSE:Lnet/minecraft/client/toast/TutorialToast$Type;
-
TREE
- Mappings:
Namespace Name Mixin selector official cLdtd$a;c:Ldtd$a;intermediary field_2235Lnet/minecraft/class_372$class_373;field_2235:Lnet/minecraft/class_372$class_373;named TREELnet/minecraft/client/toast/TutorialToast$Type;TREE:Lnet/minecraft/client/toast/TutorialToast$Type;
-
RECIPE_BOOK
- Mappings:
Namespace Name Mixin selector official dLdtd$a;d:Ldtd$a;intermediary field_2233Lnet/minecraft/class_372$class_373;field_2233:Lnet/minecraft/class_372$class_373;named RECIPE_BOOKLnet/minecraft/client/toast/TutorialToast$Type;RECIPE_BOOK:Lnet/minecraft/client/toast/TutorialToast$Type;
-
WOODEN_PLANKS
- Mappings:
Namespace Name Mixin selector official eLdtd$a;e:Ldtd$a;intermediary field_2236Lnet/minecraft/class_372$class_373;field_2236:Lnet/minecraft/class_372$class_373;named WOODEN_PLANKSLnet/minecraft/client/toast/TutorialToast$Type;WOODEN_PLANKS:Lnet/minecraft/client/toast/TutorialToast$Type;
-
SOCIAL_INTERACTIONS
- Mappings:
Namespace Name Mixin selector official fLdtd$a;f:Ldtd$a;intermediary field_26848Lnet/minecraft/class_372$class_373;field_26848:Lnet/minecraft/class_372$class_373;named SOCIAL_INTERACTIONSLnet/minecraft/client/toast/TutorialToast$Type;SOCIAL_INTERACTIONS:Lnet/minecraft/client/toast/TutorialToast$Type;
-
RIGHT_CLICK
- Mappings:
Namespace Name Mixin selector official gLdtd$a;g:Ldtd$a;intermediary field_28782Lnet/minecraft/class_372$class_373;field_28782:Lnet/minecraft/class_372$class_373;named RIGHT_CLICKLnet/minecraft/client/toast/TutorialToast$Type;RIGHT_CLICK:Lnet/minecraft/client/toast/TutorialToast$Type;
-
-
Field Details
-
textureSlotX
private final int textureSlotX- Mappings:
Namespace Name Mixin selector official hLdtd$a;h:Iintermediary field_2232Lnet/minecraft/class_372$class_373;field_2232:Inamed textureSlotXLnet/minecraft/client/toast/TutorialToast$Type;textureSlotX:I
-
textureSlotY
private final int textureSlotY- Mappings:
Namespace Name Mixin selector official iLdtd$a;i:Iintermediary field_2231Lnet/minecraft/class_372$class_373;field_2231:Inamed textureSlotYLnet/minecraft/client/toast/TutorialToast$Type;textureSlotY:I
-
-
Constructor Details
-
Type
private Type(int textureSlotX, int textureSlotY)- Mappings:
Namespace Name Mixin selector official <init>Ldtd$a;<init>(Ljava/lang/String;III)Vintermediary <init>Lnet/minecraft/class_372$class_373;<init>(Ljava/lang/String;III)Vnamed <init>Lnet/minecraft/client/toast/TutorialToast$Type;<init>(Ljava/lang/String;III)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
drawIcon
- Mappings:
Namespace Name Mixin selector official aLdtd$a;a(Ldlr;Ldrh;II)Vintermediary method_1994Lnet/minecraft/class_372$class_373;method_1994(Lnet/minecraft/class_4587;Lnet/minecraft/class_332;II)Vnamed drawIconLnet/minecraft/client/toast/TutorialToast$Type;drawIcon(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/gui/DrawableHelper;II)V
-