Package net.minecraft.client.font
Class TrueTypeFont
java.lang.Object
net.minecraft.client.font.TrueTypeFont
- All Implemented Interfaces:
- AutoCloseable,- Font
- Mappings:
- Namespace - Name - named - net/minecraft/client/font/TrueTypeFont- intermediary - net/minecraft/class_395- official - fdx
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprivate static classprivate classNested classes/interfaces inherited from interface net.minecraft.client.font.FontFont.FontFilterPair
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate @Nullable ByteBufferprivate final GlyphContainer<TrueTypeFont.LazyGlyph> (package private) final floatFields inherited from interface net.minecraft.client.font.Fontfield_48382
- 
Constructor SummaryConstructorsConstructorDescriptionTrueTypeFont(ByteBuffer buffer, FT_Face face, float size, float oversample, float shiftX, float shiftY, String excludedCharacters) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()getGlyph(int codePoint) (package private) FT_FacegetInfo()private GlyphgetOrLoadGlyph(int codePoint, TrueTypeFont.LazyGlyph glyph) Returns the set of code points for which this font can provide glyphs.private Glyph
- 
Field Details- 
buffer- Mappings:
- Namespace - Name - Mixin selector - named - buffer- Lnet/minecraft/client/font/TrueTypeFont;buffer:Ljava/nio/ByteBuffer;- intermediary - field_21839- Lnet/minecraft/class_395;field_21839:Ljava/nio/ByteBuffer;- official - b- Lfdx;b:Ljava/nio/ByteBuffer;
 
- 
face- Mappings:
- Namespace - Name - Mixin selector - named - face- Lnet/minecraft/client/font/TrueTypeFont;face:Lorg/lwjgl/util/freetype/FT_Face;- intermediary - field_48383- Lnet/minecraft/class_395;field_48383:Lorg/lwjgl/util/freetype/FT_Face;- official - c- Lfdx;c:Lorg/lwjgl/util/freetype/FT_Face;
 
- 
oversamplefinal float oversample- Mappings:
- Namespace - Name - Mixin selector - named - oversample- Lnet/minecraft/client/font/TrueTypeFont;oversample:F- intermediary - field_2321- Lnet/minecraft/class_395;field_2321:F- official - d- Lfdx;d:F
 
- 
container- Mappings:
- Namespace - Name - Mixin selector - named - container- Lnet/minecraft/client/font/TrueTypeFont;container:Lnet/minecraft/client/font/GlyphContainer;- intermediary - field_52695- Lnet/minecraft/class_395;field_52695:Lnet/minecraft/class_8532;- official - e- Lfdx;e:Lfrj;
 
 
- 
- 
Constructor Details- 
TrueTypeFontpublic TrueTypeFont(ByteBuffer buffer, FT_Face face, float size, float oversample, float shiftX, float shiftY, String excludedCharacters) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/client/font/TrueTypeFont;<init>(Ljava/nio/ByteBuffer;Lorg/lwjgl/util/freetype/FT_Face;FFFFLjava/lang/String;)V- intermediary - <init>- Lnet/minecraft/class_395;<init>(Ljava/nio/ByteBuffer;Lorg/lwjgl/util/freetype/FT_Face;FFFFLjava/lang/String;)V- official - <init>- Lfdx;<init>(Ljava/nio/ByteBuffer;Lorg/lwjgl/util/freetype/FT_Face;FFFFLjava/lang/String;)V
 
 
- 
- 
Method Details- 
getGlyph
- 
getOrLoadGlyph- Mappings:
- Namespace - Name - Mixin selector - named - getOrLoadGlyph- Lnet/minecraft/client/font/TrueTypeFont;getOrLoadGlyph(ILnet/minecraft/client/font/TrueTypeFont$LazyGlyph;)Lnet/minecraft/client/font/Glyph;- intermediary - method_61901- Lnet/minecraft/class_395;method_61901(ILnet/minecraft/class_395$class_9908;)Lnet/minecraft/class_379;- official - a- Lfdx;a(ILfdx$b;)Lfdt;
 
- 
loadGlyph- Mappings:
- Namespace - Name - Mixin selector - named - loadGlyph- Lnet/minecraft/client/font/TrueTypeFont;loadGlyph(ILorg/lwjgl/util/freetype/FT_Face;I)Lnet/minecraft/client/font/Glyph;- intermediary - method_61902- Lnet/minecraft/class_395;method_61902(ILorg/lwjgl/util/freetype/FT_Face;I)Lnet/minecraft/class_379;- official - a- Lfdx;a(ILorg/lwjgl/util/freetype/FT_Face;I)Lfdt;
 
- 
getInfoFT_Face getInfo()- Mappings:
- Namespace - Name - Mixin selector - named - getInfo- Lnet/minecraft/client/font/TrueTypeFont;getInfo()Lorg/lwjgl/util/freetype/FT_Face;- intermediary - method_51884- Lnet/minecraft/class_395;method_51884()Lorg/lwjgl/util/freetype/FT_Face;- official - b- Lfdx;b()Lorg/lwjgl/util/freetype/FT_Face;
 
- 
closepublic void close()- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Font
 
- 
getProvidedGlyphsReturns the set of code points for which this font can provide glyphs.- Specified by:
- getProvidedGlyphsin interface- Font
- Returns:
- the set of code points for which this font can provide glyphs
- Mappings:
- Namespace - Name - Mixin selector - named - getProvidedGlyphs- Lnet/minecraft/client/font/Font;getProvidedGlyphs()Lit/unimi/dsi/fastutil/ints/IntSet;- intermediary - method_27442- Lnet/minecraft/class_390;method_27442()Lit/unimi/dsi/fastutil/ints/IntSet;- official - a- Lfdu;a()Lit/unimi/dsi/fastutil/ints/IntSet;
 
 
-