public class LootModifierManager extends JsonReloadListener
IFutureReloadListener.IStage| Modifier and Type | Field and Description |
|---|---|
static org.apache.logging.log4j.Logger |
LOGGER |
| Constructor and Description |
|---|
LootModifierManager() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
apply(java.util.Map<ResourceLocation,com.google.gson.JsonObject> resourceList,
IResourceManager resourceManagerIn,
IProfiler profilerIn) |
java.util.Collection<IGlobalLootModifier> |
getAllLootMods()
An immutable collection of the registered loot modifiers in layered order.
|
static GlobalLootModifierSerializer<?> |
getSerializerForName(ResourceLocation resourcelocation) |
getPreparedPath, preparereloadprotected void apply(java.util.Map<ResourceLocation,com.google.gson.JsonObject> resourceList, IResourceManager resourceManagerIn, IProfiler profilerIn)
apply in class ReloadListener<java.util.Map<ResourceLocation,com.google.gson.JsonObject>>public static GlobalLootModifierSerializer<?> getSerializerForName(ResourceLocation resourcelocation)
public java.util.Collection<IGlobalLootModifier> getAllLootMods()