Package net.minecraft.client.font
Class BitmapFont.Loader
java.lang.Object
net.minecraft.client.font.BitmapFont.Loader
- All Implemented Interfaces:
FontLoader
- Enclosing class:
BitmapFont
- Mappings:
Namespace Name official ejn$a
intermediary net/minecraft/class_386$class_387
named net/minecraft/client/font/BitmapFont$Loader
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate int
findCharacterStartX
(NativeImage image, int characterWidth, int characterHeight, int charPosX, int charPosY) static BitmapFont.Loader
fromJson
(JsonObject json) load
(ResourceManager manager)
-
Field Details
-
filename
- Mappings:
Namespace Name Mixin selector official a
Lejn$a;a:Labb;
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
Lejn$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
Lejn$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
Lejn$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>
Lejn$a;<init>(Labb;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
Lejn$a;a(Lcom/google/gson/JsonObject;)Lejn$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 create
Lejo;create(Laim;)Ldyt;
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
Lejn$a;a(Ldzq;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
-