Package net.minecraft
Record Class class_8471.class_8473
java.lang.Object
java.lang.Record
net.minecraft.class_8471.class_8473
- Record Components:
codepoint
-style
-
- Enclosing class:
class_8471
@Environment(CLIENT)
private static record class_8471.class_8473(int codepoint, Style style)
extends Record
- Mappings:
Namespace Name official gep$b
intermediary net/minecraft/class_8471$class_8473
named net/minecraft/class_8471$class_8473
official a
intermediary comp_1455
named codepoint
official b
intermediary comp_1456
named style
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the value of thecodepoint
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.style()
Returns the value of thestyle
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
class_8473
class_8473(int int2, Style style)
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
codepoint
public int codepoint()Returns the value of thecodepoint
record component.- Returns:
- the value of the
codepoint
record component
-
style
Returns the value of thestyle
record component.- Returns:
- the value of the
style
record component
-