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
FieldsModifier and TypeFieldDescriptionprivate static final com.google.gson.Gsonprivate static final org.apache.logging.log4j.Loggerprivate final LootPredicateManagerprivate Map<ResourceLocation,LootTable> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapply(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.JsonElementstatic voidvalidate(ValidationTracker p_227508_0_, ResourceLocation p_227508_1_, LootTable p_227508_2_) Methods inherited from class net.minecraft.client.resources.JsonReloadListener
getPreparedPath, prepareMethods inherited from class net.minecraft.client.resources.ReloadListener
reloadMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
applyin 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
-