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 Summary
Nested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
PreparableReloadListener.PreparationBarrier - 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static final com.google.gson.Gsonprivate static final org.apache.logging.log4j.Loggerprivate Map<ResourceLocation,IGlobalLootModifier>  - 
Constructor Summary
Constructors - 
Method Summary
Modifier 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.SimpleJsonResourceReloadListener
getPreparedPath, scanDirectoryMethods 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.apache.logging.log4j.Logger LOGGER - 
GSON
private static final com.google.gson.Gson GSON - 
FOLDER
- See Also:
 
 - 
modifiers
 
 - 
 - 
Constructor Details
- 
LootModifierManager
public LootModifierManager() 
 - 
 - 
Method Details
- 
prepare
protected Map<ResourceLocation,com.google.gson.JsonElement> prepare(ResourceManager resources, ProfilerFiller profilerFiller) - Overrides:
 preparein classSimpleJsonResourceReloadListener
 - 
apply
protected void apply(Map<ResourceLocation, com.google.gson.JsonElement> resources, ResourceManager resourceManagerIn, ProfilerFiller profilerIn) - Specified by:
 applyin classSimplePreparableReloadListener<Map<ResourceLocation,com.google.gson.JsonElement>> 
 - 
getAllLootMods
An immutable collection of the registered loot modifiers in layered order. 
 -