Record Class UnihexFont.FontImage32x16

java.lang.Object
java.lang.Record
net.minecraft.client.font.UnihexFont.FontImage32x16
Record Components:
contents -
bitWidth -
All Implemented Interfaces:
UnihexFont.BitmapGlyph
Enclosing class:
UnihexFont

@Environment(CLIENT) private static record UnihexFont.FontImage32x16(int[] contents, int bitWidth) extends Record implements UnihexFont.BitmapGlyph
Mappings:
Namespace Name
named net/minecraft/client/font/UnihexFont$FontImage32x16
intermediary net/minecraft/class_391$class_8543
official fkm$e
named contents
intermediary comp_1511
official a
named bitWidth
intermediary comp_1512
official b
  • Field Details

    • contents

      private final int[] contents
      The field for the contents record component.
    • bitWidth

      private final int bitWidth
      The field for the bitWidth record component.
    • field_44775

      private static final int field_44775
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_44775 Lnet/minecraft/client/font/UnihexFont$FontImage32x16;field_44775:I
      intermediary field_44775 Lnet/minecraft/class_391$class_8543;field_44775:I
      official c Lfkm$e;c:I
  • Constructor Details

    • FontImage32x16

      private FontImage32x16(int[] int2, int int3)
  • Method Details

    • getPixels

      public int getPixels(int y)
      Specified by:
      getPixels in interface UnihexFont.BitmapGlyph
      Mappings:
      Namespace Name Mixin selector
      named getPixels Lnet/minecraft/client/font/UnihexFont$BitmapGlyph;getPixels(I)I
      intermediary method_51668 Lnet/minecraft/class_391$class_8544;method_51668(I)I
      official a Lfkm$f;a(I)I
    • read24x16

      static UnihexFont.BitmapGlyph read24x16(int lineNum, ByteList data)
      Mappings:
      Namespace Name Mixin selector
      named read24x16 Lnet/minecraft/client/font/UnihexFont$FontImage32x16;read24x16(ILit/unimi/dsi/fastutil/bytes/ByteList;)Lnet/minecraft/client/font/UnihexFont$BitmapGlyph;
      intermediary method_51677 Lnet/minecraft/class_391$class_8543;method_51677(ILit/unimi/dsi/fastutil/bytes/ByteList;)Lnet/minecraft/class_391$class_8544;
      official b Lfkm$e;b(ILit/unimi/dsi/fastutil/bytes/ByteList;)Lfkm$f;
    • read32x16

      public static UnihexFont.BitmapGlyph read32x16(int lineNum, ByteList data)
      Mappings:
      Namespace Name Mixin selector
      named read32x16 Lnet/minecraft/client/font/UnihexFont$FontImage32x16;read32x16(ILit/unimi/dsi/fastutil/bytes/ByteList;)Lnet/minecraft/client/font/UnihexFont$BitmapGlyph;
      intermediary method_51676 Lnet/minecraft/class_391$class_8543;method_51676(ILit/unimi/dsi/fastutil/bytes/ByteList;)Lnet/minecraft/class_391$class_8544;
      official a Lfkm$e;a(ILit/unimi/dsi/fastutil/bytes/ByteList;)Lfkm$f;
    • 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.
    • contents

      public int[] contents()
      Returns the value of the contents record component.
      Returns:
      the value of the contents record component
    • bitWidth

      public int bitWidth()
      Returns the value of the bitWidth record component.
      Specified by:
      bitWidth in interface UnihexFont.BitmapGlyph
      Returns:
      the value of the bitWidth record component