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$a
intermediary net/minecraft/class_372$class_373
named 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 MOUSE
MOVEMENT_KEYS
RECIPE_BOOK
RIGHT_CLICK
SOCIAL_INTERACTIONS
TREE
WOODEN_PLANKS
-
Field Summary
Fields Modifier and Type Field Description private int
textureSlotX
private int
textureSlotY
-
Constructor Summary
Constructors Modifier Constructor Description private
Type(int textureSlotX, int textureSlotY)
-
Method Summary
Modifier and Type Method 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.
-
Enum Constant Details
-
MOVEMENT_KEYS
- Mappings:
Namespace Name Mixin selector official a
Ldtd$a;a:Ldtd$a;
intermediary field_2230
Lnet/minecraft/class_372$class_373;field_2230:Lnet/minecraft/class_372$class_373;
named MOVEMENT_KEYS
Lnet/minecraft/client/toast/TutorialToast$Type;MOVEMENT_KEYS:Lnet/minecraft/client/toast/TutorialToast$Type;
-
MOUSE
- Mappings:
Namespace Name Mixin selector official b
Ldtd$a;b:Ldtd$a;
intermediary field_2237
Lnet/minecraft/class_372$class_373;field_2237:Lnet/minecraft/class_372$class_373;
named MOUSE
Lnet/minecraft/client/toast/TutorialToast$Type;MOUSE:Lnet/minecraft/client/toast/TutorialToast$Type;
-
TREE
- Mappings:
Namespace Name Mixin selector official c
Ldtd$a;c:Ldtd$a;
intermediary field_2235
Lnet/minecraft/class_372$class_373;field_2235:Lnet/minecraft/class_372$class_373;
named TREE
Lnet/minecraft/client/toast/TutorialToast$Type;TREE:Lnet/minecraft/client/toast/TutorialToast$Type;
-
RECIPE_BOOK
- Mappings:
Namespace Name Mixin selector official d
Ldtd$a;d:Ldtd$a;
intermediary field_2233
Lnet/minecraft/class_372$class_373;field_2233:Lnet/minecraft/class_372$class_373;
named RECIPE_BOOK
Lnet/minecraft/client/toast/TutorialToast$Type;RECIPE_BOOK:Lnet/minecraft/client/toast/TutorialToast$Type;
-
WOODEN_PLANKS
- Mappings:
Namespace Name Mixin selector official e
Ldtd$a;e:Ldtd$a;
intermediary field_2236
Lnet/minecraft/class_372$class_373;field_2236:Lnet/minecraft/class_372$class_373;
named WOODEN_PLANKS
Lnet/minecraft/client/toast/TutorialToast$Type;WOODEN_PLANKS:Lnet/minecraft/client/toast/TutorialToast$Type;
-
SOCIAL_INTERACTIONS
- Mappings:
Namespace Name Mixin selector official f
Ldtd$a;f:Ldtd$a;
intermediary field_26848
Lnet/minecraft/class_372$class_373;field_26848:Lnet/minecraft/class_372$class_373;
named SOCIAL_INTERACTIONS
Lnet/minecraft/client/toast/TutorialToast$Type;SOCIAL_INTERACTIONS:Lnet/minecraft/client/toast/TutorialToast$Type;
-
RIGHT_CLICK
- Mappings:
Namespace Name Mixin selector official g
Ldtd$a;g:Ldtd$a;
intermediary field_28782
Lnet/minecraft/class_372$class_373;field_28782:Lnet/minecraft/class_372$class_373;
named RIGHT_CLICK
Lnet/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 h
Ldtd$a;h:I
intermediary field_2232
Lnet/minecraft/class_372$class_373;field_2232:I
named textureSlotX
Lnet/minecraft/client/toast/TutorialToast$Type;textureSlotX:I
-
textureSlotY
private final int textureSlotY- Mappings:
Namespace Name Mixin selector official i
Ldtd$a;i:I
intermediary field_2231
Lnet/minecraft/class_372$class_373;field_2231:I
named textureSlotY
Lnet/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)V
intermediary <init>
Lnet/minecraft/class_372$class_373;<init>(Ljava/lang/String;III)V
named <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 a
Ldtd$a;a(Ldlr;Ldrh;II)V
intermediary method_1994
Lnet/minecraft/class_372$class_373;method_1994(Lnet/minecraft/class_4587;Lnet/minecraft/class_332;II)V
named drawIcon
Lnet/minecraft/client/toast/TutorialToast$Type;drawIcon(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/gui/DrawableHelper;II)V
-