类 TrueTypeFontLoader

  • 所有已实现的接口:
    FontLoader

    @Environment(CLIENT)
    public class TrueTypeFontLoader
    extends Object
    implements FontLoader
    Mappings:
    Namespace Name
    official dxw
    intermediary net/minecraft/class_396
    named net/minecraft/client/font/TrueTypeFontLoader
    • 字段详细资料

      • LOGGER

        private static final Logger LOGGER
        Mappings:
        Namespace Name Mixin selector
        official a Ldxw;a:Lorg/apache/logging/log4j/Logger;
        intermediary field_16242 Lnet/minecraft/class_396;field_16242:Lorg/apache/logging/log4j/Logger;
        named LOGGER Lnet/minecraft/client/font/TrueTypeFontLoader;LOGGER:Lorg/apache/logging/log4j/Logger;
      • filename

        private final Identifier filename
        Mappings:
        Namespace Name Mixin selector
        official b Ldxw;b:Lwp;
        intermediary field_2330 Lnet/minecraft/class_396;field_2330:Lnet/minecraft/class_2960;
        named filename Lnet/minecraft/client/font/TrueTypeFontLoader;filename:Lnet/minecraft/util/Identifier;
      • size

        private final float size
        Mappings:
        Namespace Name Mixin selector
        official c Ldxw;c:F
        intermediary field_2329 Lnet/minecraft/class_396;field_2329:F
        named size Lnet/minecraft/client/font/TrueTypeFontLoader;size:F
      • oversample

        private final float oversample
        Mappings:
        Namespace Name Mixin selector
        official d Ldxw;d:F
        intermediary field_2328 Lnet/minecraft/class_396;field_2328:F
        named oversample Lnet/minecraft/client/font/TrueTypeFontLoader;oversample:F
      • shiftX

        private final float shiftX
        Mappings:
        Namespace Name Mixin selector
        official e Ldxw;e:F
        intermediary field_2327 Lnet/minecraft/class_396;field_2327:F
        named shiftX Lnet/minecraft/client/font/TrueTypeFontLoader;shiftX:F
      • shiftY

        private final float shiftY
        Mappings:
        Namespace Name Mixin selector
        official f Ldxw;f:F
        intermediary field_2326 Lnet/minecraft/class_396;field_2326:F
        named shiftY Lnet/minecraft/client/font/TrueTypeFontLoader;shiftY:F
      • excludedCharacters

        private final String excludedCharacters
        Mappings:
        Namespace Name Mixin selector
        official g Ldxw;g:Ljava/lang/String;
        intermediary field_2331 Lnet/minecraft/class_396;field_2331:Ljava/lang/String;
        named excludedCharacters Lnet/minecraft/client/font/TrueTypeFontLoader;excludedCharacters:Ljava/lang/String;
    • 构造器详细资料

      • TrueTypeFontLoader

        public TrueTypeFontLoader​(Identifier filename,
                                  float size,
                                  float oversample,
                                  float shiftX,
                                  float shiftY,
                                  String excludedCharacters)
        Mappings:
        Namespace Name Mixin selector
        official <init> Ldxw;<init>(Lwp;FFFFLjava/lang/String;)V
        intermediary <init> Lnet/minecraft/class_396;<init>(Lnet/minecraft/class_2960;FFFFLjava/lang/String;)V
        named <init> Lnet/minecraft/client/font/TrueTypeFontLoader;<init>(Lnet/minecraft/util/Identifier;FFFFLjava/lang/String;)V
    • 方法详细资料

      • fromJson

        public static FontLoader fromJson​(JsonObject json)
        Mappings:
        Namespace Name Mixin selector
        official a Ldxw;a(Lcom/google/gson/JsonObject;)Ldxt;
        intermediary method_2059 Lnet/minecraft/class_396;method_2059(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_389;
        named fromJson Lnet/minecraft/client/font/TrueTypeFontLoader;fromJson(Lcom/google/gson/JsonObject;)Lnet/minecraft/client/font/FontLoader;
      • load

        @Nullable
        public @Nullable Font load​(ResourceManager manager)
        指定者:
        load 在接口中 FontLoader
        Mappings:
        Namespace Name Mixin selector
        official a Ldxt;a(Ladl;)Ldnq;
        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;