Package net.minecraft.client.font
Class UnicodeTextureFont.UnicodeTextureGlyph
java.lang.Object
net.minecraft.client.font.UnicodeTextureFont.UnicodeTextureGlyph
- All Implemented Interfaces:
Glyph
,RenderableGlyph
- Enclosing class:
- UnicodeTextureFont
@Environment(CLIENT) static class UnicodeTextureFont.UnicodeTextureGlyph extends Object implements RenderableGlyph
- Mappings:
Namespace Name official dtt$b
intermediary net/minecraft/class_391$class_393
named net/minecraft/client/font/UnicodeTextureFont$UnicodeTextureGlyph
-
Field Summary
Fields Modifier and Type Field Description private int
height
private NativeImage
image
private int
unpackSkipPixels
private int
unpackSkipRows
private int
width
-
Constructor Summary
Constructors Modifier Constructor Description private
UnicodeTextureGlyph(int x, int y, int width, int height, NativeImage image)
-
Method Summary
Modifier and Type Method Description float
getAdvance()
float
getBoldOffset()
int
getHeight()
float
getOversample()
float
getShadowOffset()
int
getWidth()
boolean
hasColor()
void
upload(int x, int y)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.font.Glyph
getAdvance, getBearingX
-
Field Details
-
width
private final int width- Mappings:
Namespace Name Mixin selector official a
Ldtt$b;a:I
intermediary field_2309
Lnet/minecraft/class_391$class_393;field_2309:I
named width
Lnet/minecraft/client/font/UnicodeTextureFont$UnicodeTextureGlyph;width:I
-
height
private final int height- Mappings:
Namespace Name Mixin selector official b
Ldtt$b;b:I
intermediary field_2308
Lnet/minecraft/class_391$class_393;field_2308:I
named height
Lnet/minecraft/client/font/UnicodeTextureFont$UnicodeTextureGlyph;height:I
-
unpackSkipPixels
private final int unpackSkipPixels- Mappings:
Namespace Name Mixin selector official c
Ldtt$b;c:I
intermediary field_2307
Lnet/minecraft/class_391$class_393;field_2307:I
named unpackSkipPixels
Lnet/minecraft/client/font/UnicodeTextureFont$UnicodeTextureGlyph;unpackSkipPixels:I
-
unpackSkipRows
private final int unpackSkipRows- Mappings:
Namespace Name Mixin selector official d
Ldtt$b;d:I
intermediary field_2306
Lnet/minecraft/class_391$class_393;field_2306:I
named unpackSkipRows
Lnet/minecraft/client/font/UnicodeTextureFont$UnicodeTextureGlyph;unpackSkipRows:I
-
image
- Mappings:
Namespace Name Mixin selector official e
Ldtt$b;e:Ldky;
intermediary field_2310
Lnet/minecraft/class_391$class_393;field_2310:Lnet/minecraft/class_1011;
named image
Lnet/minecraft/client/font/UnicodeTextureFont$UnicodeTextureGlyph;image:Lnet/minecraft/client/texture/NativeImage;
-
-
Constructor Details
-
UnicodeTextureGlyph
- Mappings:
Namespace Name Mixin selector official <init>
Ldtt$b;<init>(IIIILdky;)V
intermediary <init>
Lnet/minecraft/class_391$class_393;<init>(IIIILnet/minecraft/class_1011;)V
named <init>
Lnet/minecraft/client/font/UnicodeTextureFont$UnicodeTextureGlyph;<init>(IIIILnet/minecraft/client/texture/NativeImage;)V
-
-
Method Details
-
getOversample
public float getOversample()- Specified by:
getOversample
in interfaceRenderableGlyph
- Mappings:
Namespace Name Mixin selector official g
Ldkh;g()F
intermediary method_2035
Lnet/minecraft/class_383;method_2035()F
named getOversample
Lnet/minecraft/client/font/RenderableGlyph;getOversample()F
-
getWidth
public int getWidth()- Specified by:
getWidth
in interfaceRenderableGlyph
- Mappings:
Namespace Name Mixin selector official d
Ldkh;d()I
intermediary method_2031
Lnet/minecraft/class_383;method_2031()I
named getWidth
Lnet/minecraft/client/font/RenderableGlyph;getWidth()I
-
getHeight
public int getHeight()- Specified by:
getHeight
in interfaceRenderableGlyph
- Mappings:
Namespace Name Mixin selector official e
Ldkh;e()I
intermediary method_2032
Lnet/minecraft/class_383;method_2032()I
named getHeight
Lnet/minecraft/client/font/RenderableGlyph;getHeight()I
-
getAdvance
public float getAdvance()- Specified by:
getAdvance
in interfaceGlyph
- Mappings:
Namespace Name Mixin selector official getAdvance
Ldkf;getAdvance()F
intermediary getAdvance
Lnet/minecraft/class_379;getAdvance()F
named getAdvance
Lnet/minecraft/client/font/Glyph;getAdvance()F
-
upload
public void upload(int x, int y)- Specified by:
upload
in interfaceRenderableGlyph
- Mappings:
Namespace Name Mixin selector official a
Ldkh;a(II)V
intermediary method_2030
Lnet/minecraft/class_383;method_2030(II)V
named upload
Lnet/minecraft/client/font/RenderableGlyph;upload(II)V
-
hasColor
public boolean hasColor()- Specified by:
hasColor
in interfaceRenderableGlyph
- Mappings:
Namespace Name Mixin selector official f
Ldkh;f()Z
intermediary method_2033
Lnet/minecraft/class_383;method_2033()Z
named hasColor
Lnet/minecraft/client/font/RenderableGlyph;hasColor()Z
-
getShadowOffset
public float getShadowOffset()- Specified by:
getShadowOffset
in interfaceGlyph
- Mappings:
Namespace Name Mixin selector official c
Ldkf;c()F
intermediary method_16800
Lnet/minecraft/class_379;method_16800()F
named getShadowOffset
Lnet/minecraft/client/font/Glyph;getShadowOffset()F
-
getBoldOffset
public float getBoldOffset()- Specified by:
getBoldOffset
in interfaceGlyph
- Mappings:
Namespace Name Mixin selector official b
Ldkf;b()F
intermediary method_16799
Lnet/minecraft/class_379;method_16799()F
named getBoldOffset
Lnet/minecraft/client/font/Glyph;getBoldOffset()F
-