Package net.minecraft.server
Class ServerAdvancementLoader
java.lang.Object
net.minecraft.resource.SinglePreparationResourceReloadListener<Map<Identifier,JsonElement>>
net.minecraft.resource.JsonDataLoader
net.minecraft.server.ServerAdvancementLoader
- All Implemented Interfaces:
ResourceReloadListener
public class ServerAdvancementLoader extends JsonDataLoader
- Mappings:
Namespace Name official wlintermediary net/minecraft/class_2989named net/minecraft/server/ServerAdvancementLoader
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.resource.ResourceReloadListener
ResourceReloadListener.Synchronizer -
Field Summary
Fields Modifier and Type Field Description private LootConditionManagerconditionManagerprivate static GsonGSONprivate static LoggerLOGGERprivate AdvancementManagermanager -
Constructor Summary
Constructors Constructor Description ServerAdvancementLoader(LootConditionManager conditionManager) -
Method Summary
Modifier and Type Method Description protected voidapply(Map<Identifier,JsonElement> map, ResourceManager resourceManager, Profiler profiler)Advancementget(Identifier id)Collection<Advancement>getAdvancements()Methods inherited from class net.minecraft.resource.JsonDataLoader
prepareMethods inherited from class net.minecraft.resource.SinglePreparationResourceReloadListener
reloadMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.resource.ResourceReloadListener
getName
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLwl;a:Lorg/apache/logging/log4j/Logger;intermediary field_13406Lnet/minecraft/class_2989;field_13406:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/server/ServerAdvancementLoader;LOGGER:Lorg/apache/logging/log4j/Logger;
-
GSON
- Mappings:
Namespace Name Mixin selector official bLwl;b:Lcom/google/gson/Gson;intermediary field_13405Lnet/minecraft/class_2989;field_13405:Lcom/google/gson/Gson;named GSONLnet/minecraft/server/ServerAdvancementLoader;GSON:Lcom/google/gson/Gson;
-
manager
- Mappings:
Namespace Name Mixin selector official cLwl;c:Lz;intermediary field_13404Lnet/minecraft/class_2989;field_13404:Lnet/minecraft/class_163;named managerLnet/minecraft/server/ServerAdvancementLoader;manager:Lnet/minecraft/advancement/AdvancementManager;
-
conditionManager
- Mappings:
Namespace Name Mixin selector official dLwl;d:Lden;intermediary field_24452Lnet/minecraft/class_2989;field_24452:Lnet/minecraft/class_4567;named conditionManagerLnet/minecraft/server/ServerAdvancementLoader;conditionManager:Lnet/minecraft/loot/condition/LootConditionManager;
-
-
Constructor Details
-
ServerAdvancementLoader
- Mappings:
Namespace Name Mixin selector official <init>Lwl;<init>(Lden;)Vintermediary <init>Lnet/minecraft/class_2989;<init>(Lnet/minecraft/class_4567;)Vnamed <init>Lnet/minecraft/server/ServerAdvancementLoader;<init>(Lnet/minecraft/loot/condition/LootConditionManager;)V
-
-
Method Details
-
apply
protected void apply(Map<Identifier,JsonElement> map, ResourceManager resourceManager, Profiler profiler)- Specified by:
applyin classSinglePreparationResourceReloadListener<Map<Identifier,JsonElement>>- Mappings:
Namespace Name Mixin selector official aLwl;a(Ljava/util/Map;Lacx;Laos;)Vintermediary method_20724Lnet/minecraft/class_2989;method_20724(Ljava/util/Map;Lnet/minecraft/class_3300;Lnet/minecraft/class_3695;)Vnamed applyLnet/minecraft/server/ServerAdvancementLoader;apply(Ljava/util/Map;Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/profiler/Profiler;)V
-
get
- Mappings:
Namespace Name Mixin selector official aLwl;a(Lwb;)Ly;intermediary method_12896Lnet/minecraft/class_2989;method_12896(Lnet/minecraft/class_2960;)Lnet/minecraft/class_161;named getLnet/minecraft/server/ServerAdvancementLoader;get(Lnet/minecraft/util/Identifier;)Lnet/minecraft/advancement/Advancement;
-
getAdvancements
- Mappings:
Namespace Name Mixin selector official aLwl;a()Ljava/util/Collection;intermediary method_12893Lnet/minecraft/class_2989;method_12893()Ljava/util/Collection;named getAdvancementsLnet/minecraft/server/ServerAdvancementLoader;getAdvancements()Ljava/util/Collection;
-