Package net.minecraft.client.util
Class InputMappings.Input
- java.lang.Object
-
- net.minecraft.client.util.InputMappings.Input
-
- Enclosing class:
- InputMappings
public static final class InputMappings.Input extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private LazyValue<ITextComponent>
displayName
private java.lang.String
name
private static java.util.Map<java.lang.String,InputMappings.Input>
NAME_MAP
private InputMappings.Type
type
private int
value
-
Constructor Summary
Constructors Modifier Constructor Description private
Input(java.lang.String p_i48057_1_, InputMappings.Type p_i48057_2_, int p_i48057_3_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object p_equals_1_)
ITextComponent
getDisplayName()
java.lang.String
getName()
java.util.OptionalInt
getNumericKeyValue()
InputMappings.Type
getType()
int
getValue()
int
hashCode()
java.lang.String
toString()
-
-
-
Field Detail
-
name
private final java.lang.String name
-
type
private final InputMappings.Type type
-
value
private final int value
-
displayName
private final LazyValue<ITextComponent> displayName
-
NAME_MAP
private static final java.util.Map<java.lang.String,InputMappings.Input> NAME_MAP
-
-
Constructor Detail
-
Input
private Input(java.lang.String p_i48057_1_, InputMappings.Type p_i48057_2_, int p_i48057_3_)
-
-
Method Detail
-
getType
public InputMappings.Type getType()
-
getValue
public int getValue()
-
getName
public java.lang.String getName()
-
getDisplayName
public ITextComponent getDisplayName()
-
getNumericKeyValue
public java.util.OptionalInt getNumericKeyValue()
-
equals
public boolean equals(java.lang.Object p_equals_1_)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-