Record Class UnicodeTextureFont.class_8547

java.lang.Object
java.lang.Record
net.minecraft.client.font.UnicodeTextureFont.class_8547
Record Components:
contents -
All Implemented Interfaces:
UnicodeTextureFont.class_8544
Enclosing class:
UnicodeTextureFont

@Environment(CLIENT) private static record UnicodeTextureFont.class_8547(short[] contents) extends Record implements UnicodeTextureFont.class_8544
Mappings:
Namespace Name
official erk$i
intermediary net/minecraft/class_391$class_8547
named net/minecraft/client/font/UnicodeTextureFont$class_8547
official a
intermediary comp_1516
named contents
  • Field Details

    • contents

      private final short[] contents
      The field for the contents record component.
  • Constructor Details

    • class_8547

      private class_8547(short[] short2)
  • Method Details

    • method_51668

      public int method_51668(int int2)
      Specified by:
      method_51668 in interface UnicodeTextureFont.class_8544
      Mappings:
      Namespace Name Mixin selector
      official a Lerk$f;a(I)I
      intermediary method_51668 Lnet/minecraft/class_391$class_8544;method_51668(I)I
      named method_51668 Lnet/minecraft/client/font/UnicodeTextureFont$class_8544;method_51668(I)I
    • method_51683

      static UnicodeTextureFont.class_8544 method_51683(int int2, ByteList byteList)
      Mappings:
      Namespace Name Mixin selector
      official a Lerk$i;a(ILit/unimi/dsi/fastutil/bytes/ByteList;)Lerk$f;
      intermediary method_51683 Lnet/minecraft/class_391$class_8547;method_51683(ILit/unimi/dsi/fastutil/bytes/ByteList;)Lnet/minecraft/class_391$class_8544;
      named method_51683 Lnet/minecraft/client/font/UnicodeTextureFont$class_8547;method_51683(ILit/unimi/dsi/fastutil/bytes/ByteList;)Lnet/minecraft/client/font/UnicodeTextureFont$class_8544;
    • bitWidth

      public int bitWidth()
      Specified by:
      bitWidth in interface UnicodeTextureFont.class_8544
      Mappings:
      Namespace Name Mixin selector
      official a Lerk$f;a()I
      intermediary comp_1512 Lnet/minecraft/class_391$class_8544;comp_1512()I
      named bitWidth Lnet/minecraft/client/font/UnicodeTextureFont$class_8544;bitWidth()I
    • 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. All components in this record class are compared with Objects::equals(Object,Object).
      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.
    • contents

      public short[] contents()
      Returns the value of the contents record component.
      Returns:
      the value of the contents record component