Package net.minecraft.loot.condition
Class LootConditionManager
java.lang.Object
net.minecraft.resource.SinglePreparationResourceReloadListener<Map<Identifier,JsonElement>>
net.minecraft.resource.JsonDataLoader
net.minecraft.loot.condition.LootConditionManager
- All Implemented Interfaces:
ResourceReloadListener
public class LootConditionManager extends JsonDataLoader
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classLootConditionManager.AndConditionNested classes/interfaces inherited from interface net.minecraft.resource.ResourceReloadListener
ResourceReloadListener.Synchronizer -
Field Summary
Fields Modifier and Type Field Description private Map<Identifier,LootCondition>conditionsprivate static GsonGSONprivate static LoggerLOGGER -
Constructor Summary
Constructors Constructor Description LootConditionManager() -
Method Summary
Modifier and Type Method Description protected voidapply(Map<Identifier,JsonElement> map, ResourceManager resourceManager, Profiler profiler)LootConditionget(Identifier id)Set<Identifier>getIds()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
-
GSON
-
conditions
-
-
Constructor Details
-
LootConditionManager
public LootConditionManager()
-
-
Method Details
-
get
-
apply
protected void apply(Map<Identifier,JsonElement> map, ResourceManager resourceManager, Profiler profiler)- Specified by:
applyin classSinglePreparationResourceReloadListener<Map<Identifier,JsonElement>>
-
getIds
-