Class UnihexFont.Loader

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

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

    • CODEC

      public static final com.mojang.serialization.Codec<UnihexFont.Loader> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lerk$a;a:Lcom/mojang/serialization/Codec;
      intermediary field_44771 Lnet/minecraft/class_391$class_392;field_44771:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/client/font/UnihexFont$Loader;CODEC:Lcom/mojang/serialization/Codec;
    • sizes

      private final Identifier sizes
      Mappings:
      Namespace Name Mixin selector
      official b Lerk$a;b:Lacq;
      intermediary field_2304 Lnet/minecraft/class_391$class_392;field_2304:Lnet/minecraft/class_2960;
      named sizes Lnet/minecraft/client/font/UnihexFont$Loader;sizes:Lnet/minecraft/util/Identifier;
    • overrides

      private final List<UnihexFont.DimensionOverride> overrides
      Mappings:
      Namespace Name Mixin selector
      official c Lerk$a;c:Ljava/util/List;
      intermediary field_44772 Lnet/minecraft/class_391$class_392;field_44772:Ljava/util/List;
      named overrides Lnet/minecraft/client/font/UnihexFont$Loader;overrides:Ljava/util/List;
  • Constructor Details

    • Loader

      private Loader(Identifier sizes, List<UnihexFont.DimensionOverride> overrides)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lerk$a;<init>(Lacq;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_391$class_392;<init>(Lnet/minecraft/class_2960;Ljava/util/List;)V
      named <init> Lnet/minecraft/client/font/UnihexFont$Loader;<init>(Lnet/minecraft/util/Identifier;Ljava/util/List;)V
  • Method Details

    • build

      public com.mojang.datafixers.util.Either<FontLoader.Loadable,FontLoader.Reference> build()
      Specified by:
      build in interface FontLoader
    • load

      private Font load(ResourceManager resourceManager) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lerk$a;a(Lakv;)Lefw;
      intermediary method_51658 Lnet/minecraft/class_391$class_392;method_51658(Lnet/minecraft/class_3300;)Lnet/minecraft/class_390;
      named load Lnet/minecraft/client/font/UnihexFont$Loader;load(Lnet/minecraft/resource/ResourceManager;)Lnet/minecraft/client/font/Font;
    • loadHexFile

      private UnihexFont loadHexFile(InputStream stream) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lerk$a;a(Ljava/io/InputStream;)Lerk;
      intermediary method_51662 Lnet/minecraft/class_391$class_392;method_51662(Ljava/io/InputStream;)Lnet/minecraft/class_391;
      named loadHexFile Lnet/minecraft/client/font/UnihexFont$Loader;loadHexFile(Ljava/io/InputStream;)Lnet/minecraft/client/font/UnihexFont;
    • fromJson

      public static FontLoader fromJson(JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      official a Lerk$a;a(Lcom/google/gson/JsonObject;)Lerg;
      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/UnihexFont$Loader;fromJson(Lcom/google/gson/JsonObject;)Lnet/minecraft/client/font/FontLoader;