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
named net/minecraft/client/font/UnihexFont$Loader
intermediary net/minecraft/class_391$class_392
official flm$b
  • Field Details

    • CODEC

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

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

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

    • Loader

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

    • getType

      public FontType getType()
      Specified by:
      getType in interface FontLoader
      Mappings:
      Namespace Name Mixin selector
      named getType Lnet/minecraft/client/font/FontLoader;getType()Lnet/minecraft/client/font/FontType;
      intermediary method_51731 Lnet/minecraft/class_389;method_51731()Lnet/minecraft/class_394;
      official a Lfli;a()Lflj;
    • build

      public com.mojang.datafixers.util.Either<FontLoader.Loadable,FontLoader.Reference> build()
      Specified by:
      build in interface FontLoader
      Mappings:
      Namespace Name Mixin selector
      named build Lnet/minecraft/client/font/FontLoader;build()Lcom/mojang/datafixers/util/Either;
      intermediary method_51734 Lnet/minecraft/class_389;method_51734()Lcom/mojang/datafixers/util/Either;
      official b Lfli;b()Lcom/mojang/datafixers/util/Either;
    • load

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

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