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 fla$d
named contents
intermediary comp_1508
official a
named left
intermediary comp_1509
official b
named right
intermediary comp_1510
official c
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.font.Glyph
Glyph.EmptyGlyph
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbake
(Function<RenderableGlyph, GlyphRenderer> glyphRendererGetter) contents()
Returns the value of thecontents
record component.final boolean
Indicates whether some other object is "equal to" this one.float
float
float
final int
hashCode()
Returns a hash code value for this object.int
left()
Returns the value of theleft
record component.int
right()
Returns the value of theright
record component.final String
toString()
Returns a string representation of this record class.int
width()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.client.font.Glyph
getAdvance
-
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 width
Lnet/minecraft/client/font/UnihexFont$UnicodeTextureGlyph;width()I
intermediary method_51675
Lnet/minecraft/class_391$class_393;method_51675()I
official c
Lfla$d;c()I
-
getAdvance
public float getAdvance()- Specified by:
getAdvance
in interfaceGlyph
-
getShadowOffset
public float getShadowOffset()- Specified by:
getShadowOffset
in interfaceGlyph
- 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
Leyq;b()F
-
getBoldOffset
public float getBoldOffset()- Specified by:
getBoldOffset
in interfaceGlyph
- 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
Leyq;a()F
-
bake
- Specified by:
bake
in interfaceGlyph
- Mappings:
Namespace Name Mixin selector named bake
Lnet/minecraft/client/font/Glyph;bake(Ljava/util/function/Function;)Lnet/minecraft/client/font/GlyphRenderer;
intermediary bake
Lnet/minecraft/class_379;bake(Ljava/util/function/Function;)Lnet/minecraft/class_382;
official bake
Leyq;bake(Ljava/util/function/Function;)Lfkp;
-
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 thecontents
record component.- Returns:
- the value of the
contents
record component
-
left
public int left()Returns the value of theleft
record component.- Returns:
- the value of the
left
record component
-
right
public int right()Returns the value of theright
record component.- Returns:
- the value of the
right
record component
-