Package net.minecraft.client.font
Class BitmapFont
java.lang.Object
net.minecraft.client.font.BitmapFont
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Font
- Mappings:
Namespace Name official eca
intermediary net/minecraft/class_386
named net/minecraft/client/font/BitmapFont
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static final class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Int2ObjectMap<BitmapFont.BitmapFontGlyph>
private final NativeImage
(package private) static final org.slf4j.Logger
-
Constructor Summary
ConstructorDescriptionBitmapFont
(NativeImage image, Int2ObjectMap<BitmapFont.BitmapFontGlyph> glyphs) -
Method Summary
-
Field Details
-
LOGGER
static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official a
Leca;a:Lorg/slf4j/Logger;
intermediary field_2286
Lnet/minecraft/class_386;field_2286:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/client/font/BitmapFont;LOGGER:Lorg/slf4j/Logger;
-
image
- Mappings:
Namespace Name Mixin selector official b
Leca;b:Ldsn;
intermediary field_2285
Lnet/minecraft/class_386;field_2285:Lnet/minecraft/class_1011;
named image
Lnet/minecraft/client/font/BitmapFont;image:Lnet/minecraft/client/texture/NativeImage;
-
glyphs
- Mappings:
Namespace Name Mixin selector official c
Leca;c:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
intermediary field_2284
Lnet/minecraft/class_386;field_2284:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
named glyphs
Lnet/minecraft/client/font/BitmapFont;glyphs:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-
-
Constructor Details
-
BitmapFont
BitmapFont(NativeImage image, Int2ObjectMap<BitmapFont.BitmapFontGlyph> glyphs) - Mappings:
Namespace Name Mixin selector official <init>
Leca;<init>(Ldsn;Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;)V
intermediary <init>
Lnet/minecraft/class_386;<init>(Lnet/minecraft/class_1011;Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;)V
named <init>
Lnet/minecraft/client/font/BitmapFont;<init>(Lnet/minecraft/client/texture/NativeImage;Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;)V
-
-
Method Details
-
close
public void close() -
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 official a
Ldrr;a()Lit/unimi/dsi/fastutil/ints/IntSet;
intermediary method_27442
Lnet/minecraft/class_390;method_27442()Lit/unimi/dsi/fastutil/ints/IntSet;
named getProvidedGlyphs
Lnet/minecraft/client/font/Font;getProvidedGlyphs()Lit/unimi/dsi/fastutil/ints/IntSet;
-