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/TrueTypeFontintermediary net/minecraft/class_395official ezp
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface net.minecraft.client.font.Font
Font.FontFilterPair -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate @Nullable ByteBufferprivate final IntSet(package private) final floatFields inherited from interface net.minecraft.client.font.Font
field_48382 -
Constructor Summary
ConstructorsConstructorDescriptionTrueTypeFont(ByteBuffer buffer, FT_Face face, float size, float oversample, float shiftX, float shiftY, String excludedCharacters) -
Method Summary
-
Field Details
-
buffer
- Mappings:
Namespace Name Mixin selector named bufferLnet/minecraft/client/font/TrueTypeFont;buffer:Ljava/nio/ByteBuffer;intermediary field_21839Lnet/minecraft/class_395;field_21839:Ljava/nio/ByteBuffer;official bLezp;b:Ljava/nio/ByteBuffer;
-
face
- Mappings:
Namespace Name Mixin selector named faceLnet/minecraft/client/font/TrueTypeFont;face:Lorg/lwjgl/util/freetype/FT_Face;intermediary field_48383Lnet/minecraft/class_395;field_48383:Lorg/lwjgl/util/freetype/FT_Face;official cLezp;c:Lorg/lwjgl/util/freetype/FT_Face;
-
oversample
final float oversample- Mappings:
Namespace Name Mixin selector named oversampleLnet/minecraft/client/font/TrueTypeFont;oversample:Fintermediary field_2321Lnet/minecraft/class_395;field_2321:Fofficial dLezp;d:F
-
excludedCharacters
- Mappings:
Namespace Name Mixin selector named excludedCharactersLnet/minecraft/client/font/TrueTypeFont;excludedCharacters:Lit/unimi/dsi/fastutil/ints/IntSet;intermediary field_2319Lnet/minecraft/class_395;field_2319:Lit/unimi/dsi/fastutil/ints/IntSet;official eLezp;e:Lit/unimi/dsi/fastutil/ints/IntSet;
-
-
Constructor Details
-
TrueTypeFont
public 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;)Vintermediary <init>Lnet/minecraft/class_395;<init>(Ljava/nio/ByteBuffer;Lorg/lwjgl/util/freetype/FT_Face;FFFFLjava/lang/String;)Vofficial <init>Lezp;<init>(Ljava/nio/ByteBuffer;Lorg/lwjgl/util/freetype/FT_Face;FFFFLjava/lang/String;)V
-
-
Method Details
-
getGlyph
-
getInfo
FT_Face getInfo()- Mappings:
Namespace Name Mixin selector named getInfoLnet/minecraft/client/font/TrueTypeFont;getInfo()Lorg/lwjgl/util/freetype/FT_Face;intermediary method_51884Lnet/minecraft/class_395;method_51884()Lorg/lwjgl/util/freetype/FT_Face;official bLezp;b()Lorg/lwjgl/util/freetype/FT_Face;
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceFont
-
getProvidedGlyphs
Returns the set of code points for which this font can provide glyphs.- Specified by:
getProvidedGlyphsin interfaceFont- Returns:
- the set of code points for which this font can provide glyphs
- Mappings:
Namespace Name Mixin selector named getProvidedGlyphsLnet/minecraft/client/font/Font;getProvidedGlyphs()Lit/unimi/dsi/fastutil/ints/IntSet;intermediary method_27442Lnet/minecraft/class_390;method_27442()Lit/unimi/dsi/fastutil/ints/IntSet;official aLezm;a()Lit/unimi/dsi/fastutil/ints/IntSet;
-