Package net.minecraft.client.util
Enum Class InputUtil.Type
- All Implemented Interfaces:
Serializable,Comparable<InputUtil.Type>,Constable
- Enclosing class:
InputUtil
- Mappings:
Namespace Name intermediary net/minecraft/class_3675$class_307official egw$bnamed net/minecraft/client/util/InputUtil$Type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Int2ObjectMap<InputUtil.Key>(package private) final String(package private) final BiFunction<Integer,String, Text> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateFromCode(int code) private static voidmapKey(InputUtil.Type type, String translationKey, int keyCode) static InputUtil.TypeReturns the enum constant of this class with the specified name.static InputUtil.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
KEYSYM
- Mappings:
Namespace Name Mixin selector intermediary field_1668Lnet/minecraft/class_3675$class_307;field_1668:Lnet/minecraft/class_3675$class_307;official aLegw$b;a:Legw$b;named KEYSYMLnet/minecraft/client/util/InputUtil$Type;KEYSYM:Lnet/minecraft/client/util/InputUtil$Type;
-
SCANCODE
- Mappings:
Namespace Name Mixin selector intermediary field_1671Lnet/minecraft/class_3675$class_307;field_1671:Lnet/minecraft/class_3675$class_307;official bLegw$b;b:Legw$b;named SCANCODELnet/minecraft/client/util/InputUtil$Type;SCANCODE:Lnet/minecraft/client/util/InputUtil$Type;
-
MOUSE
- Mappings:
Namespace Name Mixin selector intermediary field_1672Lnet/minecraft/class_3675$class_307;field_1672:Lnet/minecraft/class_3675$class_307;official cLegw$b;c:Legw$b;named MOUSELnet/minecraft/client/util/InputUtil$Type;MOUSE:Lnet/minecraft/client/util/InputUtil$Type;
-
-
Field Details
-
map
- Mappings:
Namespace Name Mixin selector intermediary field_1674Lnet/minecraft/class_3675$class_307;field_1674:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;official dLegw$b;d:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;named mapLnet/minecraft/client/util/InputUtil$Type;map:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-
name
- Mappings:
Namespace Name Mixin selector intermediary field_1673Lnet/minecraft/class_3675$class_307;field_1673:Ljava/lang/String;official eLegw$b;e:Ljava/lang/String;named nameLnet/minecraft/client/util/InputUtil$Type;name:Ljava/lang/String;
-
textTranslator
- Mappings:
Namespace Name Mixin selector intermediary field_24197Lnet/minecraft/class_3675$class_307;field_24197:Ljava/util/function/BiFunction;official fLegw$b;f:Ljava/util/function/BiFunction;named textTranslatorLnet/minecraft/client/util/InputUtil$Type;textTranslator:Ljava/util/function/BiFunction;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_3675$class_307;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/util/function/BiFunction;)Vofficial <init>Legw$b;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/util/function/BiFunction;)Vnamed <init>Lnet/minecraft/client/util/InputUtil$Type;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/util/function/BiFunction;)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
-
mapKey
- Mappings:
Namespace Name Mixin selector intermediary method_1446Lnet/minecraft/class_3675$class_307;method_1446(Lnet/minecraft/class_3675$class_307;Ljava/lang/String;I)Vofficial aLegw$b;a(Legw$b;Ljava/lang/String;I)Vnamed mapKeyLnet/minecraft/client/util/InputUtil$Type;mapKey(Lnet/minecraft/client/util/InputUtil$Type;Ljava/lang/String;I)V
-
createFromCode
- Mappings:
Namespace Name Mixin selector intermediary method_1447Lnet/minecraft/class_3675$class_307;method_1447(I)Lnet/minecraft/class_3675$class_306;official aLegw$b;a(I)Legw$a;named createFromCodeLnet/minecraft/client/util/InputUtil$Type;createFromCode(I)Lnet/minecraft/client/util/InputUtil$Key;
-