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

    • CODEC

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

      private final Identifier sizes
      Mappings:
      Namespace Name Mixin selector
      official c Lesb$b;c: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 d Lesb$b;d: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> Lesb$b;<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

    • getType

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

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

      private Font load(ResourceManager resourceManager) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lesb$b;a(Lakx;)Legm;
      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 Lesb$b;a(Ljava/io/InputStream;)Lesb;
      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;