Package net.minecraft.advancements
Class AdvancementManager
- java.lang.Object
-
- net.minecraft.client.resources.ReloadListener<java.util.Map<ResourceLocation,com.google.gson.JsonElement>>
-
- net.minecraft.client.resources.JsonReloadListener
-
- net.minecraft.advancements.AdvancementManager
-
- All Implemented Interfaces:
IFutureReloadListener
public class AdvancementManager extends JsonReloadListener
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.minecraft.resources.IFutureReloadListener
IFutureReloadListener.IStage
-
-
Field Summary
Fields Modifier and Type Field Description private AdvancementList
advancements
private static com.google.gson.Gson
GSON
private static org.apache.logging.log4j.Logger
LOGGER
private LootPredicateManager
predicateManager
-
Constructor Summary
Constructors Constructor Description AdvancementManager(LootPredicateManager p_i232595_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
apply(java.util.Map<ResourceLocation,com.google.gson.JsonElement> p_212853_1_, IResourceManager p_212853_2_, IProfiler p_212853_3_)
Advancement
getAdvancement(ResourceLocation p_192778_1_)
java.util.Collection<Advancement>
getAllAdvancements()
-
Methods inherited from class net.minecraft.client.resources.JsonReloadListener
getPreparedPath, prepare
-
Methods inherited from class net.minecraft.client.resources.ReloadListener
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.resources.IFutureReloadListener
getName
-
-
-
-
Field Detail
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
GSON
private static final com.google.gson.Gson GSON
-
advancements
private AdvancementList advancements
-
predicateManager
private final LootPredicateManager predicateManager
-
-
Constructor Detail
-
AdvancementManager
public AdvancementManager(LootPredicateManager p_i232595_1_)
-
-
Method Detail
-
apply
protected void apply(java.util.Map<ResourceLocation,com.google.gson.JsonElement> p_212853_1_, IResourceManager p_212853_2_, IProfiler p_212853_3_)
- Specified by:
apply
in classReloadListener<java.util.Map<ResourceLocation,com.google.gson.JsonElement>>
-
getAdvancement
@Nullable public Advancement getAdvancement(ResourceLocation p_192778_1_)
-
getAllAdvancements
public java.util.Collection<Advancement> getAllAdvancements()
-
-