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 eil$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 Leil$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 Leil$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 Leil$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 Leil$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> Leil$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 Leil$a;a(Lcom/google/gson/JsonObject;)Leil$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 Leim;create(Lahu;)Ldxv;
      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 Leil$a;a(Ldys;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