Package net.minecraft.loot
Class LootTableManager
java.lang.Object
net.minecraft.client.resources.ReloadListener<Map<ResourceLocation,com.google.gson.JsonElement>>
net.minecraft.client.resources.JsonReloadListener
net.minecraft.loot.LootTableManager
- All Implemented Interfaces:
IFutureReloadListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.resources.IFutureReloadListener
IFutureReloadListener.IStage
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.google.gson.Gson
private static final org.apache.logging.log4j.Logger
private final LootPredicateManager
private Map<ResourceLocation,
LootTable> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
apply
(Map<ResourceLocation, com.google.gson.JsonElement> p_212853_1_, IResourceManager p_212853_2_, IProfiler p_212853_3_) get
(ResourceLocation p_186521_1_) getIds()
static com.google.gson.JsonElement
static void
validate
(ValidationTracker p_227508_0_, ResourceLocation p_227508_1_, LootTable p_227508_2_) Methods inherited from class net.minecraft.client.resources.JsonReloadListener
getPreparedPath, prepare
Methods inherited from class net.minecraft.client.resources.ReloadListener
reload
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.resources.IFutureReloadListener
getName
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
GSON
private static final com.google.gson.Gson GSON -
tables
-
predicateManager
-
-
Constructor Details
-
LootTableManager
-
-
Method Details
-
get
-
apply
protected void apply(Map<ResourceLocation, com.google.gson.JsonElement> p_212853_1_, IResourceManager p_212853_2_, IProfiler p_212853_3_) - Specified by:
apply
in classReloadListener<Map<ResourceLocation,
com.google.gson.JsonElement>>
-
validate
public static void validate(ValidationTracker p_227508_0_, ResourceLocation p_227508_1_, LootTable p_227508_2_) -
serialize
-
getIds
-