Package net.minecraft.server
Class ServerAdvancementLoader
java.lang.Object
net.minecraft.resource.SinglePreparationResourceReloader<Map<Identifier,com.google.gson.JsonElement>>
net.minecraft.resource.JsonDataLoader
net.minecraft.server.ServerAdvancementLoader
- All Implemented Interfaces:
ResourceReloader
- Mappings:
Namespace Name official afi
intermediary net/minecraft/class_2989
named net/minecraft/server/ServerAdvancementLoader
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.resource.ResourceReloader
ResourceReloader.Synchronizer
-
Field Summary
Modifier and TypeFieldDescriptionprivate Map<Identifier,
AdvancementEntry> private final LootManager
private static final com.google.gson.Gson
private static final Logger
private AdvancementManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
apply
(Map<Identifier, com.google.gson.JsonElement> map, ResourceManager resourceManager, Profiler profiler) Handles the prepared intermediate object.@Nullable AdvancementEntry
get
(Identifier id) Methods inherited from class net.minecraft.resource.JsonDataLoader
load, prepare
Methods inherited from class net.minecraft.resource.SinglePreparationResourceReloader
reload
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.resource.ResourceReloader
getName
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Lafi;a:Lorg/slf4j/Logger;
intermediary field_13406
Lnet/minecraft/class_2989;field_13406:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/server/ServerAdvancementLoader;LOGGER:Lorg/slf4j/Logger;
-
GSON
private static final com.google.gson.Gson GSON- Mappings:
Namespace Name Mixin selector official b
Lafi;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;
-
advancements
- Mappings:
Namespace Name Mixin selector official c
Lafi;c:Ljava/util/Map;
intermediary field_13404
Lnet/minecraft/class_2989;field_13404:Ljava/util/Map;
named advancements
Lnet/minecraft/server/ServerAdvancementLoader;advancements:Ljava/util/Map;
-
manager
- Mappings:
Namespace Name Mixin selector official d
Lafi;d:Lak;
intermediary field_46076
Lnet/minecraft/class_2989;field_46076:Lnet/minecraft/class_163;
named manager
Lnet/minecraft/server/ServerAdvancementLoader;manager:Lnet/minecraft/advancement/AdvancementManager;
-
conditionManager
- Mappings:
Namespace Name Mixin selector official e
Lafi;e:Lect;
intermediary field_44468
Lnet/minecraft/class_2989;field_44468:Lnet/minecraft/class_60;
named conditionManager
Lnet/minecraft/server/ServerAdvancementLoader;conditionManager:Lnet/minecraft/loot/LootManager;
-
-
Constructor Details
-
ServerAdvancementLoader
- Mappings:
Namespace Name Mixin selector official <init>
Lafi;<init>(Lect;)V
intermediary <init>
Lnet/minecraft/class_2989;<init>(Lnet/minecraft/class_60;)V
named <init>
Lnet/minecraft/server/ServerAdvancementLoader;<init>(Lnet/minecraft/loot/LootManager;)V
-
-
Method Details
-
apply
protected void apply(Map<Identifier, com.google.gson.JsonElement> map, ResourceManager resourceManager, Profiler profiler) Description copied from class:SinglePreparationResourceReloader
Handles the prepared intermediate object.This method is called in the apply executor, or the game engine, in a reload.
- Specified by:
apply
in classSinglePreparationResourceReloader<Map<Identifier,
com.google.gson.JsonElement>> - Parameters:
map
- the prepared objectresourceManager
- the resource managerprofiler
- the apply profiler- Mappings:
Namespace Name Mixin selector official a
Lafi;a(Ljava/util/Map;Lant;Lbdp;)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
- Mappings:
Namespace Name Mixin selector official a
Lafi;a(Laew;)Laf;
intermediary method_12896
Lnet/minecraft/class_2989;method_12896(Lnet/minecraft/class_2960;)Lnet/minecraft/class_8779;
named get
Lnet/minecraft/server/ServerAdvancementLoader;get(Lnet/minecraft/util/Identifier;)Lnet/minecraft/advancement/AdvancementEntry;
-
getManager
- Mappings:
Namespace Name Mixin selector official a
Lafi;a()Lak;
intermediary method_53646
Lnet/minecraft/class_2989;method_53646()Lnet/minecraft/class_163;
named getManager
Lnet/minecraft/server/ServerAdvancementLoader;getManager()Lnet/minecraft/advancement/AdvancementManager;
-
getAdvancements
- Mappings:
Namespace Name Mixin selector official b
Lafi;b()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;
-