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:
- Glyph
- Enclosing class:
- UnihexFont
@Environment(CLIENT)
private static record UnihexFont.UnicodeTextureGlyph(UnihexFont.BitmapGlyph contents, int left, int right)
extends Record
implements Glyph
- Mappings:
- Namespace - Name - named - net/minecraft/client/font/UnihexFont$UnicodeTextureGlyph- intermediary - net/minecraft/class_391$class_393- official - fsb$d- named - contents- intermediary - comp_1508- official - a- named - left- intermediary - comp_1509- official - b- named - right- intermediary - comp_1510- official - c
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.client.font.GlyphGlyph.EmptyGlyph
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbake(Function<RenderableGlyph, BakedGlyph> glyphRendererGetter) contents()Returns the value of thecontentsrecord component.final booleanIndicates whether some other object is "equal to" this one.floatfloatfloatfinal inthashCode()Returns a hash code value for this object.intleft()Returns the value of theleftrecord component.intright()Returns the value of therightrecord component.final StringtoString()Returns a string representation of this record class.intwidth()Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.client.font.GlyphgetAdvance
- 
Field Details
- 
Constructor Details- 
UnicodeTextureGlyphUnicodeTextureGlyph(UnihexFont.BitmapGlyph bitmapGlyph, int int2, int int3) 
 
- 
- 
Method Details- 
widthpublic int width()- Mappings:
- Namespace - Name - Mixin selector - named - width- Lnet/minecraft/client/font/UnihexFont$UnicodeTextureGlyph;width()I- intermediary - method_51675- Lnet/minecraft/class_391$class_393;method_51675()I- official - c- Lfsb$d;c()I
 
- 
getAdvancepublic float getAdvance()- Specified by:
- getAdvancein interface- Glyph
 
- 
getShadowOffsetpublic float getShadowOffset()- Specified by:
- getShadowOffsetin interface- Glyph
- Mappings:
- Namespace - Name - Mixin selector - named - getShadowOffset- Lnet/minecraft/client/font/Glyph;getShadowOffset()F- intermediary - method_16800- Lnet/minecraft/class_379;method_16800()F- official - b- Lfdt;b()F
 
- 
getBoldOffsetpublic float getBoldOffset()- Specified by:
- getBoldOffsetin interface- Glyph
- Mappings:
- Namespace - Name - Mixin selector - named - getBoldOffset- Lnet/minecraft/client/font/Glyph;getBoldOffset()F- intermediary - method_16799- Lnet/minecraft/class_379;method_16799()F- official - a- Lfdt;a()F
 
- 
bake- Specified by:
- bakein interface- Glyph
- Mappings:
- Namespace - Name - Mixin selector - named - bake- Lnet/minecraft/client/font/Glyph;bake(Ljava/util/function/Function;)Lnet/minecraft/client/font/BakedGlyph;- intermediary - bake- Lnet/minecraft/class_379;bake(Ljava/util/function/Function;)Lnet/minecraft/class_382;- official - bake- Lfdt;bake(Ljava/util/function/Function;)Lfrq;
 
- 
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='.
- 
contentsReturns the value of thecontentsrecord component.- Returns:
- the value of the contentsrecord component
 
- 
leftpublic int left()Returns the value of theleftrecord component.- Returns:
- the value of the leftrecord component
 
- 
rightpublic int right()Returns the value of therightrecord component.- Returns:
- the value of the rightrecord component
 
 
-