Package net.minecraft.loot.function
Class LootFunctionManager
java.lang.Object
net.minecraft.resource.SinglePreparationResourceReloadListener<Map<Identifier,JsonElement>>
net.minecraft.resource.JsonDataLoader
net.minecraft.loot.function.LootFunctionManager
- All Implemented Interfaces:
ResourceReloadListener
public class LootFunctionManager extends JsonDataLoader
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
LootFunctionManager.AndFunction
Nested classes/interfaces inherited from interface net.minecraft.resource.ResourceReloadListener
ResourceReloadListener.Synchronizer
-
Field Summary
Fields Modifier and Type Field Description private Map<Identifier,LootFunction>
functions
private static Gson
GSON
private static Logger
LOGGER
private LootConditionManager
lootConditionManager
private LootManager
lootManager
-
Constructor Summary
Constructors Constructor Description LootFunctionManager(LootConditionManager lootConditionManager, LootManager lootManager)
-
Method Summary
Modifier and Type Method Description protected void
apply(Map<Identifier,JsonElement> map, ResourceManager resourceManager, Profiler profiler)
LootFunction
get(Identifier id)
Set<Identifier>
method_32399()
Methods inherited from class net.minecraft.resource.JsonDataLoader
prepare
Methods inherited from class net.minecraft.resource.SinglePreparationResourceReloadListener
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.ResourceReloadListener
getName
-
Field Details
-
LOGGER
-
GSON
-
lootConditionManager
-
lootManager
-
functions
-
-
Constructor Details
-
LootFunctionManager
-
-
Method Details
-
get
-
apply
protected void apply(Map<Identifier,JsonElement> map, ResourceManager resourceManager, Profiler profiler)- Specified by:
apply
in classSinglePreparationResourceReloadListener<Map<Identifier,JsonElement>>
-
method_32399
-