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 eim$a
intermediary net/minecraft/class_386$class_387
named net/minecraft/client/font/BitmapFont$Loader
  • Field Details

    • filename

      private final Identifier filename
      Mappings:
      Namespace Name Mixin selector
      official a Leim$a;a:Laaj;
      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

      private final List<int[]> chars
      Mappings:
      Namespace Name Mixin selector
      official b Leim$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 Leim$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 Leim$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

      public Loader(Identifier id, int height, int ascent, List<int[]> chars)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leim$a;<init>(Laaj;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

      public static BitmapFont.Loader fromJson(JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      official a Leim$a;a(Lcom/google/gson/JsonObject;)Leim$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

      @Nullable public @Nullable Font load(ResourceManager manager)
      Specified by:
      load in interface FontLoader
      Mappings:
      Namespace Name Mixin selector
      official create Lein;create(Lahu;)Ldxw;
      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 Leim$a;a(Ldyt;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