Package net.minecraft.client.toast
Enum Class TutorialToast.Type
- All Implemented Interfaces:
Serializable,Comparable<TutorialToast.Type>,Constable
- Enclosing class:
TutorialToast
- Mappings:
Namespace Name official eri$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 ConstantsEnum ConstantDescription -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawIcon(DrawContext context, int x, int y) static TutorialToast.TypeReturns the enum constant of this class with the specified name.static TutorialToast.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MOVEMENT_KEYS
- Mappings:
Namespace Name Mixin selector official aLeri$a;a:Leri$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 bLeri$a;b:Leri$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 cLeri$a;c:Leri$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 dLeri$a;d:Leri$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 eLeri$a;e:Leri$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 fLeri$a;f:Leri$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 gLeri$a;g:Leri$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 hLeri$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 iLeri$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>Leri$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 class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
drawIcon
- Mappings:
Namespace Name Mixin selector official aLeri$a;a(Leox;II)Vintermediary method_1994Lnet/minecraft/class_372$class_373;method_1994(Lnet/minecraft/class_332;II)Vnamed drawIconLnet/minecraft/client/toast/TutorialToast$Type;drawIcon(Lnet/minecraft/client/gui/DrawContext;II)V
-