Package net.minecraft.client.input
Record Class CharInput
java.lang.Object
java.lang.Record
net.minecraft.client.input.CharInput
- Record Components:
codepoint-modifiers-
- Mappings:
Namespace Name named net/minecraft/client/input/CharInputintermediary net/minecraft/class_11905official gtenamed codepointintermediary comp_4793official anamed modifiersintermediary comp_4794official b
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()intReturns the value of thecodepointrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanintReturns the value of themodifiersrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
CharInput
public CharInput(int int2, int int3)
-
-
Method Details
-
asString
- Mappings:
Namespace Name Mixin selector named asStringLnet/minecraft/client/input/CharInput;asString()Ljava/lang/String;intermediary method_74226Lnet/minecraft/class_11905;method_74226()Ljava/lang/String;official aLgte;a()Ljava/lang/String;
-
isValidChar
public boolean isValidChar()- Mappings:
Namespace Name Mixin selector named isValidCharLnet/minecraft/client/input/CharInput;isValidChar()Zintermediary method_74227Lnet/minecraft/class_11905;method_74227()Zofficial bLgte;b()Z
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='. -
codepoint
public int codepoint()Returns the value of thecodepointrecord component.- Returns:
- the value of the
codepointrecord component
-
modifiers
public int modifiers()Returns the value of themodifiersrecord component.- Returns:
- the value of the
modifiersrecord component
-