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
Nested ClassesModifier and TypeClassDescription(package private) static classNested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
PreparableReloadListener.PreparationBarrier -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Map<ResourceLocation,LootItemFunction> private static final com.google.gson.Gsonprivate static final org.slf4j.Loggerprivate final LootTablesprivate final PredicateManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapply(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, prepareMethods inherited from class net.minecraft.server.packs.resources.SimplePreparableReloadListener
reloadMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
getName
-
Field Details
-
LOGGER
private static final org.slf4j.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:
applyin classSimplePreparableReloadListener<Map<ResourceLocation,com.google.gson.JsonElement>>
-
getKeys
-