Class ItemModifierManager
java.lang.Object
net.minecraft.server.packs.resources.SimplePreparableReloadListener<Map<ResourceLocation,com.google.gson.JsonElement>>
net.minecraft.server.packs.resources.SimpleJsonResourceReloadListener
net.minecraft.world.level.storage.loot.ItemModifierManager
- All Implemented Interfaces:
PreparableReloadListener
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
Nested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
PreparableReloadListener.PreparationBarrier
-
Field Summary
Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,LootItemFunction>
private static com.google.gson.Gson
private static org.apache.logging.log4j.Logger
private LootTables
private PredicateManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
apply(Map<ResourceLocation,com.google.gson.JsonElement> p_165105_, ResourceManager p_165106_, ProfilerFiller p_165107_)
get(ResourceLocation p_165109_)
get(ResourceLocation p_165111_, LootItemFunction p_165112_)
getKeys()
Methods inherited from class net.minecraft.server.packs.resources.SimpleJsonResourceReloadListener
getPreparedPath, prepare
Methods inherited from class net.minecraft.server.packs.resources.SimplePreparableReloadListener
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.server.packs.resources.PreparableReloadListener
getName
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
GSON
private static final com.google.gson.Gson GSON -
predicateManager
-
lootTables
-
functions
-
-
Constructor Details
-
ItemModifierManager
-
-
Method Details
-
get
-
get
-
apply
protected void apply(Map<ResourceLocation,com.google.gson.JsonElement> p_165105_, ResourceManager p_165106_, ProfilerFiller p_165107_)- Specified by:
apply
in classSimplePreparableReloadListener<Map<ResourceLocation,com.google.gson.JsonElement>>
-
getKeys
-