类 ServerAdvancementLoader

  • 所有已实现的接口:
    ResourceReloader

    public class ServerAdvancementLoader
    extends JsonDataLoader
    Mappings:
    Namespace Name
    official wz
    intermediary net/minecraft/class_2989
    named net/minecraft/server/ServerAdvancementLoader
    • 字段详细资料

      • LOGGER

        private static final Logger LOGGER
        Mappings:
        Namespace Name Mixin selector
        official a Lwz;a:Lorg/apache/logging/log4j/Logger;
        intermediary field_13406 Lnet/minecraft/class_2989;field_13406:Lorg/apache/logging/log4j/Logger;
        named LOGGER Lnet/minecraft/server/ServerAdvancementLoader;LOGGER:Lorg/apache/logging/log4j/Logger;
      • GSON

        private static final Gson GSON
        Mappings:
        Namespace Name Mixin selector
        official b Lwz;b:Lcom/google/gson/Gson;
        intermediary field_13405 Lnet/minecraft/class_2989;field_13405:Lcom/google/gson/Gson;
        named GSON Lnet/minecraft/server/ServerAdvancementLoader;GSON:Lcom/google/gson/Gson;
      • manager

        private AdvancementManager manager
        Mappings:
        Namespace Name Mixin selector
        official c Lwz;c:Lae;
        intermediary field_13404 Lnet/minecraft/class_2989;field_13404:Lnet/minecraft/class_163;
        named manager Lnet/minecraft/server/ServerAdvancementLoader;manager:Lnet/minecraft/advancement/AdvancementManager;
      • conditionManager

        private final LootConditionManager conditionManager
        Mappings:
        Namespace Name Mixin selector
        official d Lwz;d:Ldhu;
        intermediary field_24452 Lnet/minecraft/class_2989;field_24452:Lnet/minecraft/class_4567;
        named conditionManager Lnet/minecraft/server/ServerAdvancementLoader;conditionManager:Lnet/minecraft/loot/condition/LootConditionManager;
    • 构造器详细资料

      • ServerAdvancementLoader

        public ServerAdvancementLoader​(LootConditionManager conditionManager)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lwz;<init>(Ldhu;)V
        intermediary <init> Lnet/minecraft/class_2989;<init>(Lnet/minecraft/class_4567;)V
        named <init> Lnet/minecraft/server/ServerAdvancementLoader;<init>(Lnet/minecraft/loot/condition/LootConditionManager;)V
    • 方法详细资料

      • apply

        protected void apply​(Map<Identifier,​JsonElement> map,
                             ResourceManager resourceManager,
                             Profiler profiler)
        从类复制的说明: SinglePreparationResourceReloader
        Handles the prepared intermediate object.

        This method is called in the apply executor, or the game engine, in a reload.

        指定者:
        apply 在类中 SinglePreparationResourceReloader<Map<Identifier,​JsonElement>>
        参数:
        map - the prepared object
        resourceManager - the resource manager
        profiler - the apply profiler
        Mappings:
        Namespace Name Mixin selector
        official a Lwz;a(Ljava/util/Map;Ladl;Lapl;)V
        intermediary method_20724 Lnet/minecraft/class_2989;method_20724(Ljava/util/Map;Lnet/minecraft/class_3300;Lnet/minecraft/class_3695;)V
        named apply Lnet/minecraft/server/ServerAdvancementLoader;apply(Ljava/util/Map;Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/profiler/Profiler;)V
      • get

        @Nullable
        public @Nullable Advancement get​(Identifier id)
        Mappings:
        Namespace Name Mixin selector
        official a Lwz;a(Lwp;)Lad;
        intermediary method_12896 Lnet/minecraft/class_2989;method_12896(Lnet/minecraft/class_2960;)Lnet/minecraft/class_161;
        named get Lnet/minecraft/server/ServerAdvancementLoader;get(Lnet/minecraft/util/Identifier;)Lnet/minecraft/advancement/Advancement;
      • getAdvancements

        public Collection<Advancement> getAdvancements()
        Mappings:
        Namespace Name Mixin selector
        official a Lwz;a()Ljava/util/Collection;
        intermediary method_12893 Lnet/minecraft/class_2989;method_12893()Ljava/util/Collection;
        named getAdvancements Lnet/minecraft/server/ServerAdvancementLoader;getAdvancements()Ljava/util/Collection;