Package net.minecraft.client.font
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$FontImage32x16intermediary net/minecraft/class_391$class_8543official fls$enamed contentsintermediary comp_1511official anamed bitWidthintermediary comp_1512official b
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbitWidth()Returns the value of thebitWidthrecord component.int[]contents()Returns the value of thecontentsrecord component.final booleanIndicates whether some other object is "equal to" this one.intgetPixels(int y) final inthashCode()Returns a hash code value for this object.(package private) static UnihexFont.BitmapGlyphstatic UnihexFont.BitmapGlyphfinal StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.client.font.UnihexFont.BitmapGlyph
getNonemptyColumnBitmask, getPackedDimensions
-
Field Details
-
contents
private final int[] contentsThe field for thecontentsrecord component. -
bitWidth
private final int bitWidthThe field for thebitWidthrecord component. -
field_44775
private static final int field_44775- See Also:
- Mappings:
Namespace Name Mixin selector named field_44775Lnet/minecraft/client/font/UnihexFont$FontImage32x16;field_44775:Iintermediary field_44775Lnet/minecraft/class_391$class_8543;field_44775:Iofficial cLfls$e;c:I
-
-
Constructor Details
-
FontImage32x16
private FontImage32x16(int[] int2, int int3)
-
-
Method Details
-
getPixels
public int getPixels(int y) - Specified by:
getPixelsin interfaceUnihexFont.BitmapGlyph- Mappings:
Namespace Name Mixin selector named getPixelsLnet/minecraft/client/font/UnihexFont$BitmapGlyph;getPixels(I)Iintermediary method_51668Lnet/minecraft/class_391$class_8544;method_51668(I)Iofficial aLfls$f;a(I)I
-
read24x16
- Mappings:
Namespace Name Mixin selector named read24x16Lnet/minecraft/client/font/UnihexFont$FontImage32x16;read24x16(ILit/unimi/dsi/fastutil/bytes/ByteList;)Lnet/minecraft/client/font/UnihexFont$BitmapGlyph;intermediary method_51677Lnet/minecraft/class_391$class_8543;method_51677(ILit/unimi/dsi/fastutil/bytes/ByteList;)Lnet/minecraft/class_391$class_8544;official bLfls$e;b(ILit/unimi/dsi/fastutil/bytes/ByteList;)Lfls$f;
-
read32x16
- Mappings:
Namespace Name Mixin selector named read32x16Lnet/minecraft/client/font/UnihexFont$FontImage32x16;read32x16(ILit/unimi/dsi/fastutil/bytes/ByteList;)Lnet/minecraft/client/font/UnihexFont$BitmapGlyph;intermediary method_51676Lnet/minecraft/class_391$class_8543;method_51676(ILit/unimi/dsi/fastutil/bytes/ByteList;)Lnet/minecraft/class_391$class_8544;official aLfls$e;a(ILit/unimi/dsi/fastutil/bytes/ByteList;)Lfls$f;
-
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 '=='. -
contents
public int[] contents()Returns the value of thecontentsrecord component.- Returns:
- the value of the
contentsrecord component
-
bitWidth
public int bitWidth()Returns the value of thebitWidthrecord component.- Specified by:
bitWidthin interfaceUnihexFont.BitmapGlyph- Returns:
- the value of the
bitWidthrecord component
-