Package net.minecraftforge.common.loot
Class LootModifierManager
java.lang.Object
net.minecraft.server.packs.resources.SimplePreparableReloadListener<Map<ResourceLocation,com.google.gson.JsonElement>>
 
net.minecraft.server.packs.resources.SimpleJsonResourceReloadListener
net.minecraftforge.common.loot.LootModifierManager
- All Implemented Interfaces:
- PreparableReloadListener
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListenerPreparableReloadListener.PreparationBarrier
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static final com.google.gson.Gsonprivate static final org.apache.logging.log4j.Loggerprivate Map<ResourceLocation,IGlobalLootModifier> 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidapply(Map<ResourceLocation, com.google.gson.JsonElement> resources, ResourceManager resourceManagerIn, ProfilerFiller profilerIn) An immutable collection of the registered loot modifiers in layered order.protected Map<ResourceLocation,com.google.gson.JsonElement> prepare(ResourceManager resources, ProfilerFiller profilerFiller) Methods inherited from class net.minecraft.server.packs.resources.SimpleJsonResourceReloadListenergetPreparedPath, scanDirectoryMethods inherited from class net.minecraft.server.packs.resources.SimplePreparableReloadListenerreloadMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.server.packs.resources.PreparableReloadListenergetName
- 
Field Details- 
LOGGERprivate static final org.apache.logging.log4j.Logger LOGGER
- 
GSONprivate static final com.google.gson.Gson GSON
- 
FOLDER- See Also:
 
- 
modifiers
 
- 
- 
Constructor Details- 
LootModifierManagerpublic LootModifierManager()
 
- 
- 
Method Details- 
prepareprotected Map<ResourceLocation,com.google.gson.JsonElement> prepare(ResourceManager resources, ProfilerFiller profilerFiller) - Overrides:
- preparein class- SimpleJsonResourceReloadListener
 
- 
applyprotected void apply(Map<ResourceLocation, com.google.gson.JsonElement> resources, ResourceManager resourceManagerIn, ProfilerFiller profilerIn) - Specified by:
- applyin class- SimplePreparableReloadListener<Map<ResourceLocation,- com.google.gson.JsonElement>> 
 
- 
getAllLootModsAn immutable collection of the registered loot modifiers in layered order.
 
-