Package net.minecraftforge.common.loot
Class LootModifierManager
java.lang.Object
net.minecraft.client.resources.ReloadListener<Map<ResourceLocation,com.google.gson.JsonElement>>
 
net.minecraft.client.resources.JsonReloadListener
net.minecraftforge.common.loot.LootModifierManager
- All Implemented Interfaces:
- IFutureReloadListener
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.resources.IFutureReloadListenerIFutureReloadListener.IStage
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static final com.google.gson.Gsonstatic final org.apache.logging.log4j.Loggerprivate Map<ResourceLocation,IGlobalLootModifier> 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidapply(Map<ResourceLocation, com.google.gson.JsonElement> resourceList, IResourceManager resourceManagerIn, IProfiler profilerIn) private IGlobalLootModifierdeserializeModifier(ResourceLocation location, com.google.gson.JsonElement element) An immutable collection of the registered loot modifiers in layered order.static GlobalLootModifierSerializer<?>getSerializerForName(ResourceLocation resourcelocation) Methods inherited from class net.minecraft.client.resources.JsonReloadListenergetPreparedPath, prepareMethods inherited from class net.minecraft.client.resources.ReloadListenerreloadMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.resources.IFutureReloadListenergetName
- 
Field Details- 
LOGGERpublic static final org.apache.logging.log4j.Logger LOGGER
- 
GSON_INSTANCEprivate static final com.google.gson.Gson GSON_INSTANCE
- 
registeredLootModifiers
- 
folder- See Also:
 
 
- 
- 
Constructor Details- 
LootModifierManagerpublic LootModifierManager()
 
- 
- 
Method Details- 
applyprotected void apply(Map<ResourceLocation, com.google.gson.JsonElement> resourceList, IResourceManager resourceManagerIn, IProfiler profilerIn) - Specified by:
- applyin class- ReloadListener<Map<ResourceLocation,- com.google.gson.JsonElement>> 
 
- 
deserializeModifierprivate IGlobalLootModifier deserializeModifier(ResourceLocation location, com.google.gson.JsonElement element) 
- 
getSerializerForNamepublic static GlobalLootModifierSerializer<?> getSerializerForName(ResourceLocation resourcelocation) 
- 
getAllLootModsAn immutable collection of the registered loot modifiers in layered order.- Returns:
 
 
-