Package net.minecraft.client.font
Record Class UnicodeTextureFont.FontImage
java.lang.Object
java.lang.Record
net.minecraft.client.font.UnicodeTextureFont.FontImage
- Record Components:
contents-
- All Implemented Interfaces:
UnicodeTextureFont.class_8544
- Enclosing class:
UnicodeTextureFont
@Environment(CLIENT)
private static record UnicodeTextureFont.FontImage(byte[] contents)
extends Record
implements UnicodeTextureFont.class_8544
- Mappings:
Namespace Name official erk$bintermediary net/minecraft/class_391$class_7736named net/minecraft/client/font/UnicodeTextureFont$FontImageofficial aintermediary comp_1505named contents
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbitWidth()byte[]contents()Returns the value of thecontentsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intmethod_51668(int int2) (package private) static UnicodeTextureFont.class_8544method_51669(int int2, ByteList byteList) final 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.UnicodeTextureFont.class_8544
method_51678, method_51679
-
Field Details
-
contents
private final byte[] contentsThe field for thecontentsrecord component.
-
-
Constructor Details
-
FontImage
private FontImage(byte[] sizes) - Mappings:
Namespace Name Mixin selector official <init>Lerk$b;<init>([B)Vintermediary <init>Lnet/minecraft/class_391$class_7736;<init>([B)Vnamed <init>Lnet/minecraft/client/font/UnicodeTextureFont$FontImage;<init>([B)V
-
-
Method Details
-
method_51668
public int method_51668(int int2) - Specified by:
method_51668in interfaceUnicodeTextureFont.class_8544- Mappings:
Namespace Name Mixin selector official aLerk$f;a(I)Iintermediary method_51668Lnet/minecraft/class_391$class_8544;method_51668(I)Inamed method_51668Lnet/minecraft/client/font/UnicodeTextureFont$class_8544;method_51668(I)I
-
method_51669
- Mappings:
Namespace Name Mixin selector official aLerk$b;a(ILit/unimi/dsi/fastutil/bytes/ByteList;)Lerk$f;intermediary method_51669Lnet/minecraft/class_391$class_7736;method_51669(ILit/unimi/dsi/fastutil/bytes/ByteList;)Lnet/minecraft/class_391$class_8544;named method_51669Lnet/minecraft/client/font/UnicodeTextureFont$FontImage;method_51669(ILit/unimi/dsi/fastutil/bytes/ByteList;)Lnet/minecraft/client/font/UnicodeTextureFont$class_8544;
-
bitWidth
public int bitWidth()- Specified by:
bitWidthin interfaceUnicodeTextureFont.class_8544- Mappings:
Namespace Name Mixin selector official aLerk$f;a()Iintermediary comp_1512Lnet/minecraft/class_391$class_8544;comp_1512()Inamed bitWidthLnet/minecraft/client/font/UnicodeTextureFont$class_8544;bitWidth()I
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
contents
public byte[] contents()Returns the value of thecontentsrecord component.- Returns:
- the value of the
contentsrecord component
-