枚举 TutorialToast.Type
- java.lang.Object
-
- java.lang.Enum<TutorialToast.Type>
-
- net.minecraft.client.toast.TutorialToast.Type
-
- 所有已实现的接口:
Serializable,Comparable<TutorialToast.Type>
- 封闭类:
- TutorialToast
@Environment(CLIENT) public static enum TutorialToast.Type extends Enum<TutorialToast.Type>
- Mappings:
Namespace Name official dxf$aintermediary net/minecraft/class_372$class_373named net/minecraft/client/toast/TutorialToast$Type
-
-
枚举常量概要
枚举常量 枚举常量 说明 MOUSEMOVEMENT_KEYSRECIPE_BOOKRIGHT_CLICKSOCIAL_INTERACTIONSTREEWOODEN_PLANKS
-
字段概要
字段 修饰符和类型 字段 说明 private inttextureSlotXprivate inttextureSlotY
-
构造器概要
构造器 限定符 构造器 说明 privateType(int textureSlotX, int textureSlotY)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 voiddrawIcon(MatrixStack matrices, DrawableHelper helper, int x, int y)static TutorialToast.TypevalueOf(String name)返回带有指定名称的该类型的枚举常量。static TutorialToast.Type[]values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
-
-
-
枚举常量详细资料
-
MOVEMENT_KEYS
public static final TutorialToast.Type MOVEMENT_KEYS
- Mappings:
Namespace Name Mixin selector official aLdxf$a;a:Ldxf$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
public static final TutorialToast.Type MOUSE
- Mappings:
Namespace Name Mixin selector official bLdxf$a;b:Ldxf$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
public static final TutorialToast.Type TREE
- Mappings:
Namespace Name Mixin selector official cLdxf$a;c:Ldxf$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
public static final TutorialToast.Type RECIPE_BOOK
- Mappings:
Namespace Name Mixin selector official dLdxf$a;d:Ldxf$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
public static final TutorialToast.Type WOODEN_PLANKS
- Mappings:
Namespace Name Mixin selector official eLdxf$a;e:Ldxf$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
public static final TutorialToast.Type SOCIAL_INTERACTIONS
- Mappings:
Namespace Name Mixin selector official fLdxf$a;f:Ldxf$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
public static final TutorialToast.Type RIGHT_CLICK
- Mappings:
Namespace Name Mixin selector official gLdxf$a;g:Ldxf$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;
-
-
字段详细资料
-
textureSlotX
private final int textureSlotX
- Mappings:
Namespace Name Mixin selector official hLdxf$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 iLdxf$a;i:Iintermediary field_2231Lnet/minecraft/class_372$class_373;field_2231:Inamed textureSlotYLnet/minecraft/client/toast/TutorialToast$Type;textureSlotY:I
-
-
构造器详细资料
-
Type
private Type(int textureSlotX, int textureSlotY)- Mappings:
Namespace Name Mixin selector official <init>Ldxf$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
-
-
方法详细资料
-
values
public static TutorialToast.Type[] values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:for (TutorialToast.Type c : TutorialToast.Type.values()) System.out.println(c);
- 返回:
- 按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
-
valueOf
public static TutorialToast.Type valueOf(String name)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
drawIcon
public void drawIcon(MatrixStack matrices, DrawableHelper helper, int x, int y)
- Mappings:
Namespace Name Mixin selector official aLdxf$a;a(Ldpi;Ldvj;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
-
-