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
    Modifier and Type
    Field
    Description
    private final int
    The field for the codepoint record component.
    private final Style
    The field for the style record component.
  • Constructor Summary

    Constructors
    Constructor
    Description
    class_8473(int int2, Style style)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the value of the codepoint record component.
    final boolean
    equals(Object object)
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    Returns the value of the style record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • codepoint

      private final int codepoint
      The field for the codepoint record component.
    • style

      private final Style style
      The field for the style record component.
  • Constructor Details

    • class_8473

      class_8473(int int2, Style style)
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • codepoint

      public int codepoint()
      Returns the value of the codepoint record component.
      Returns:
      the value of the codepoint record component
    • style

      public Style style()
      Returns the value of the style record component.
      Returns:
      the value of the style record component