Package net.minecraft.client.font
Record Class UnihexFont.FontImage8x16
java.lang.Object
java.lang.Record
net.minecraft.client.font.UnihexFont.FontImage8x16
- Record Components:
- contents-
- All Implemented Interfaces:
- UnihexFont.BitmapGlyph
- Enclosing class:
- UnihexFont
@Environment(CLIENT)
private static record UnihexFont.FontImage8x16(byte[] contents)
extends Record
implements UnihexFont.BitmapGlyph
- Mappings:
- Namespace - Name - named - net/minecraft/client/font/UnihexFont$FontImage8x16- intermediary - net/minecraft/class_391$class_7736- official - fsb$a- named - contents- intermediary - comp_1505- official - a
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintbitWidth()byte[]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.BitmapGlyphfinal StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.client.font.UnihexFont.BitmapGlyphgetNonemptyColumnBitmask, getPackedDimensions
- 
Field Details- 
contentsprivate final byte[] contentsThe field for thecontentsrecord component.
 
- 
- 
Constructor Details- 
FontImage8x16private FontImage8x16(byte[] sizes) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/client/font/UnihexFont$FontImage8x16;<init>([B)V- intermediary - <init>- Lnet/minecraft/class_391$class_7736;<init>([B)V- official - <init>- Lfsb$a;<init>([B)V
 
 
- 
- 
Method Details- 
getPixelspublic int getPixels(int y) - Specified by:
- getPixelsin 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- Lfsb$f;a(I)I
 
- 
read- Mappings:
- Namespace - Name - Mixin selector - named - read- Lnet/minecraft/client/font/UnihexFont$FontImage8x16;read(ILit/unimi/dsi/fastutil/bytes/ByteList;)Lnet/minecraft/client/font/UnihexFont$BitmapGlyph;- intermediary - method_51669- Lnet/minecraft/class_391$class_7736;method_51669(ILit/unimi/dsi/fastutil/bytes/ByteList;)Lnet/minecraft/class_391$class_8544;- official - a- Lfsb$a;a(ILit/unimi/dsi/fastutil/bytes/ByteList;)Lfsb$f;
 
- 
bitWidthpublic int bitWidth()- Specified by:
- bitWidthin interface- UnihexFont.BitmapGlyph
- Mappings:
- Namespace - Name - Mixin selector - named - bitWidth- Lnet/minecraft/client/font/UnihexFont$BitmapGlyph;bitWidth()I- intermediary - comp_1512- Lnet/minecraft/class_391$class_8544;comp_1512()I- official - a- Lfsb$f;a()I
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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 withObjects::equals(Object,Object).
- 
contentspublic byte[] contents()Returns the value of thecontentsrecord component.- Returns:
- the value of the contentsrecord component
 
 
-