Class UnicodeTextureFont.Loader

java.lang.Object
net.minecraft.client.font.UnicodeTextureFont.Loader
All Implemented Interfaces:
FontLoader
Enclosing class:
UnicodeTextureFont

@Environment(CLIENT)
public static class UnicodeTextureFont.Loader
extends Object
implements FontLoader
Mappings:
Namespace Name
official dtt$a
intermediary net/minecraft/class_391$class_392
named net/minecraft/client/font/UnicodeTextureFont$Loader
  • Field Details

    • sizes

      private final Identifier sizes
      Mappings:
      Namespace Name Mixin selector
      official a Ldtt$a;a:Lwb;
      intermediary field_2304 Lnet/minecraft/class_391$class_392;field_2304:Lnet/minecraft/class_2960;
      named sizes Lnet/minecraft/client/font/UnicodeTextureFont$Loader;sizes:Lnet/minecraft/util/Identifier;
    • template

      private final String template
      Mappings:
      Namespace Name Mixin selector
      official b Ldtt$a;b:Ljava/lang/String;
      intermediary field_2305 Lnet/minecraft/class_391$class_392;field_2305:Ljava/lang/String;
      named template Lnet/minecraft/client/font/UnicodeTextureFont$Loader;template:Ljava/lang/String;
  • Constructor Details

    • Loader

      public Loader​(Identifier sizes, String template)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldtt$a;<init>(Lwb;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_391$class_392;<init>(Lnet/minecraft/class_2960;Ljava/lang/String;)V
      named <init> Lnet/minecraft/client/font/UnicodeTextureFont$Loader;<init>(Lnet/minecraft/util/Identifier;Ljava/lang/String;)V
  • Method Details

    • fromJson

      public static FontLoader fromJson​(JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      official a Ldtt$a;a(Lcom/google/gson/JsonObject;)Ldtr;
      intermediary method_2046 Lnet/minecraft/class_391$class_392;method_2046(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_389;
      named fromJson Lnet/minecraft/client/font/UnicodeTextureFont$Loader;fromJson(Lcom/google/gson/JsonObject;)Lnet/minecraft/client/font/FontLoader;
    • load

      @Nullable public Font load​(ResourceManager manager)
      Specified by:
      load in interface FontLoader
      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;