Package net.minecraft.client.font
Record Class UnihexFont.UnicodeTextureGlyph
java.lang.Object
java.lang.Record
net.minecraft.client.font.UnihexFont.UnicodeTextureGlyph
- Record Components:
contents-left-right-
- All Implemented Interfaces:
class_11759
- Enclosing class:
UnihexFont
@Environment(CLIENT)
private static record UnihexFont.UnicodeTextureGlyph(UnihexFont.BitmapGlyph contents, int left, int right)
extends Record
implements class_11759
- Mappings:
Namespace Name named net/minecraft/client/font/UnihexFont$UnicodeTextureGlyphintermediary net/minecraft/class_391$class_393official get$dnamed contentsintermediary comp_1508official anamed leftintermediary comp_1509official bnamed rightintermediary comp_1510official c
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.class_11759
class_11759.class_11760 -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontents()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.intleft()Returns the value of theleftrecord component.method_73332(class_11759.class_11760 class_11760) intright()Returns the value of therightrecord component.final StringtoString()Returns a string representation of this record class.intwidth()
-
Field Details
-
Constructor Details
-
UnicodeTextureGlyph
UnicodeTextureGlyph(UnihexFont.BitmapGlyph bitmapGlyph, int int2, int int3)
-
-
Method Details
-
width
public int width()- Mappings:
Namespace Name Mixin selector named widthLnet/minecraft/client/font/UnihexFont$UnicodeTextureGlyph;width()Iintermediary method_51675Lnet/minecraft/class_391$class_393;method_51675()Iofficial bLget$d;b()I
-
method_73331
- Specified by:
method_73331in interfaceclass_11759- Mappings:
Namespace Name Mixin selector named method_73331Lnet/minecraft/class_11759;method_73331()Lnet/minecraft/client/font/Glyph;intermediary method_73331Lnet/minecraft/class_11759;method_73331()Lnet/minecraft/class_379;official aLfnu;a()Lfnq;
-
method_73332
- Specified by:
method_73332in interfaceclass_11759- Mappings:
Namespace Name Mixin selector named method_73332Lnet/minecraft/class_11759;method_73332(Lnet/minecraft/class_11759$class_11760;)Lnet/minecraft/client/info/BakedGlyph;intermediary method_73332Lnet/minecraft/class_11759;method_73332(Lnet/minecraft/class_11759$class_11760;)Lnet/minecraft/class_11768;official aLfnu;a(Lfnu$a;)Lgeg;
-
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
Returns the value of thecontentsrecord component.- Returns:
- the value of the
contentsrecord component
-
left
public int left()Returns the value of theleftrecord component.- Returns:
- the value of the
leftrecord component
-
right
public int right()Returns the value of therightrecord component.- Returns:
- the value of the
rightrecord component
-