public class LootTableManager extends JsonReloadListener
IFutureReloadListener.IStage
Constructor and Description |
---|
LootTableManager() |
Modifier and Type | Method and Description |
---|---|
protected void |
apply(java.util.Map<ResourceLocation,com.google.gson.JsonObject> splashList,
IResourceManager resourceManagerIn,
IProfiler profilerIn) |
static void |
func_215302_a(ValidationResults p_215302_0_,
ResourceLocation p_215302_1_,
LootTable p_215302_2_,
java.util.function.Function<ResourceLocation,LootTable> p_215302_3_) |
LootTable |
getLootTableFromLocation(ResourceLocation ressources) |
java.util.Set<ResourceLocation> |
getLootTableKeys() |
static com.google.gson.JsonElement |
toJson(LootTable lootTableIn) |
getPreparedPath, prepare
reload
public LootTable getLootTableFromLocation(ResourceLocation ressources)
protected void apply(java.util.Map<ResourceLocation,com.google.gson.JsonObject> splashList, IResourceManager resourceManagerIn, IProfiler profilerIn)
apply
in class ReloadListener<java.util.Map<ResourceLocation,com.google.gson.JsonObject>>
public static void func_215302_a(ValidationResults p_215302_0_, ResourceLocation p_215302_1_, LootTable p_215302_2_, java.util.function.Function<ResourceLocation,LootTable> p_215302_3_)
public static com.google.gson.JsonElement toJson(LootTable lootTableIn)
public java.util.Set<ResourceLocation> getLootTableKeys()