Package net.minecraft.client.font
Class BitmapFont.Loader
java.lang.Object
net.minecraft.client.font.BitmapFont.Loader
- All Implemented Interfaces:
FontLoader
- Enclosing class:
- BitmapFont
@Environment(CLIENT) public static class BitmapFont.Loader extends Object implements FontLoader
- Mappings:
Namespace Name official dtq$a
intermediary net/minecraft/class_386$class_387
named net/minecraft/client/font/BitmapFont$Loader
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Loader(Identifier id, int height, int ascent, List<int[]> chars)
-
Method Summary
Modifier and Type Method Description private int
findCharacterStartX(NativeImage image, int characterWidth, int characterHeight, int charPosX, int charPosY)
static BitmapFont.Loader
fromJson(JsonObject json)
Font
load(ResourceManager manager)
-
Field Details
-
filename
- Mappings:
Namespace Name Mixin selector official a
Ldtq$a;a:Lwb;
intermediary field_2289
Lnet/minecraft/class_386$class_387;field_2289:Lnet/minecraft/class_2960;
named filename
Lnet/minecraft/client/font/BitmapFont$Loader;filename:Lnet/minecraft/util/Identifier;
-
chars
- Mappings:
Namespace Name Mixin selector official b
Ldtq$a;b:Ljava/util/List;
intermediary field_2290
Lnet/minecraft/class_386$class_387;field_2290:Ljava/util/List;
named chars
Lnet/minecraft/client/font/BitmapFont$Loader;chars:Ljava/util/List;
-
height
private final int height- Mappings:
Namespace Name Mixin selector official c
Ldtq$a;c:I
intermediary field_2288
Lnet/minecraft/class_386$class_387;field_2288:I
named height
Lnet/minecraft/client/font/BitmapFont$Loader;height:I
-
ascent
private final int ascent- Mappings:
Namespace Name Mixin selector official d
Ldtq$a;d:I
intermediary field_2287
Lnet/minecraft/class_386$class_387;field_2287:I
named ascent
Lnet/minecraft/client/font/BitmapFont$Loader;ascent:I
-
-
Constructor Details
-
Loader
- Mappings:
Namespace Name Mixin selector official <init>
Ldtq$a;<init>(Lwb;IILjava/util/List;)V
intermediary <init>
Lnet/minecraft/class_386$class_387;<init>(Lnet/minecraft/class_2960;IILjava/util/List;)V
named <init>
Lnet/minecraft/client/font/BitmapFont$Loader;<init>(Lnet/minecraft/util/Identifier;IILjava/util/List;)V
-
-
Method Details
-
fromJson
- Mappings:
Namespace Name Mixin selector official a
Ldtq$a;a(Lcom/google/gson/JsonObject;)Ldtq$a;
intermediary method_2037
Lnet/minecraft/class_386$class_387;method_2037(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_386$class_387;
named fromJson
Lnet/minecraft/client/font/BitmapFont$Loader;fromJson(Lcom/google/gson/JsonObject;)Lnet/minecraft/client/font/BitmapFont$Loader;
-
load
- Specified by:
load
in interfaceFontLoader
- Mappings:
Namespace Name Mixin selector official a
Ldtr;a(Lacx;)Ldkg;
intermediary method_2039
Lnet/minecraft/class_389;method_2039(Lnet/minecraft/class_3300;)Lnet/minecraft/class_390;
named load
Lnet/minecraft/client/font/FontLoader;load(Lnet/minecraft/resource/ResourceManager;)Lnet/minecraft/client/font/Font;
-
findCharacterStartX
private int findCharacterStartX(NativeImage image, int characterWidth, int characterHeight, int charPosX, int charPosY)- Mappings:
Namespace Name Mixin selector official a
Ldtq$a;a(Ldky;IIII)I
intermediary method_2038
Lnet/minecraft/class_386$class_387;method_2038(Lnet/minecraft/class_1011;IIII)I
named findCharacterStartX
Lnet/minecraft/client/font/BitmapFont$Loader;findCharacterStartX(Lnet/minecraft/client/texture/NativeImage;IIII)I
-