Package net.minecraft.client.font
Class BitmapFont
java.lang.Object
net.minecraft.client.font.BitmapFont
- All Implemented Interfaces:
AutoCloseable
,Font
- Mappings:
Namespace Name named net/minecraft/client/font/BitmapFont
intermediary net/minecraft/class_386
official fkf
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static final record
static final record
Nested classes/interfaces inherited from interface net.minecraft.client.font.Font
Font.FontFilterPair
-
Field Summary
Modifier and TypeFieldDescriptionprivate final GlyphContainer
<BitmapFont.BitmapFontGlyph> private final NativeImage
(package private) static final Logger
Fields inherited from interface net.minecraft.client.font.Font
field_48382
-
Constructor Summary
ConstructorDescriptionBitmapFont
(NativeImage image, GlyphContainer<BitmapFont.BitmapFontGlyph> glyphs) -
Method Summary
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/client/font/BitmapFont;LOGGER:Lorg/slf4j/Logger;
intermediary field_2286
Lnet/minecraft/class_386;field_2286:Lorg/slf4j/Logger;
official b
Lfkf;b:Lorg/slf4j/Logger;
-
image
- Mappings:
Namespace Name Mixin selector named image
Lnet/minecraft/client/font/BitmapFont;image:Lnet/minecraft/client/texture/NativeImage;
intermediary field_2285
Lnet/minecraft/class_386;field_2285:Lnet/minecraft/class_1011;
official c
Lfkf;c:Leza;
-
glyphs
- Mappings:
Namespace Name Mixin selector named glyphs
Lnet/minecraft/client/font/BitmapFont;glyphs:Lnet/minecraft/client/font/GlyphContainer;
intermediary field_2284
Lnet/minecraft/class_386;field_2284:Lnet/minecraft/class_8532;
official d
Lfkf;d:Lfjt;
-
-
Constructor Details
-
BitmapFont
BitmapFont(NativeImage image, GlyphContainer<BitmapFont.BitmapFontGlyph> glyphs) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/font/BitmapFont;<init>(Lnet/minecraft/client/texture/NativeImage;Lnet/minecraft/client/font/GlyphContainer;)V
intermediary <init>
Lnet/minecraft/class_386;<init>(Lnet/minecraft/class_1011;Lnet/minecraft/class_8532;)V
official <init>
Lfkf;<init>(Leza;Lfjt;)V
-
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceFont
-
getGlyph
-
getProvidedGlyphs
Returns the set of code points for which this font can provide glyphs.- Specified by:
getProvidedGlyphs
in interfaceFont
- 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
Leyc;a()Lit/unimi/dsi/fastutil/ints/IntSet;
-