net.minecraft.world.level.storage.loot

public class LootDataManager

implements PreparableReloadListener, LootDataResolver

ect
net.minecraft.world.level.storage.loot.LootDataManager
net.minecraft.class_60
net.minecraft.loot.LootManager
net.minecraft.src.C_278367_
net.minecraft.world.level.storage.loot.LootDataManager

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
b
LOGGER
field_975
LOGGER
f_278476_
private static final com.google.gson.Gson
c
GSON
field_45793
GSON
f_290375_
public static final LootDataId<LootTable>
a
EMPTY_LOOT_TABLE_KEY
field_44491
EMPTY_LOOT_TABLE
f_278474_
private Map<LootDataId<?>, ?>
d
elements
field_44492
keyToValue
f_278415_
private com.google.common.collect.Multimap<LootDataType<?>, ResourceLocation>
e
typeKeys
field_44493
typeToIds
f_278404_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public final CompletableFuture<Void>
a(ann$a arg0, ant arg1, bdp arg2, bdp arg3, Executor arg4, Executor arg5)
reload(PreparableReloadListener$PreparationBarrier arg0, ResourceManager arg1, ProfilerFiller arg2, ProfilerFiller arg3, Executor arg4, Executor arg5)
method_25931(class_3302$class_4045 arg0, class_3300 arg1, class_3695 arg2, class_3695 arg3, Executor arg4, Executor arg5)
reload(ResourceReloader$Synchronizer arg0, ResourceManager arg1, Profiler arg2, Profiler arg3, Executor arg4, Executor arg5)
m_5540_(C_69_$C_70_ p_279377_, C_77_ p_279135_, C_442_ p_279088_, C_442_ p_279148_, Executor p_279169_, Executor arg5)
private static <T> CompletableFuture<?>
a(ecv<T> arg0, ant arg1, Executor arg2, Map<ecv<?>, Map<aew, ?>> arg3)
scheduleElementParse(LootDataType<T> arg0, ResourceManager arg1, Executor arg2, Map<LootDataType<?>, Map<ResourceLocation, ?>> arg3)
method_51194(class_8490<T> arg0, class_3300 arg1, Executor arg2, Map<class_8490<?>, Map<class_2960, ?>> arg3)
load(LootDataType<T> type, ResourceManager resourceManager, Executor executor, Map<LootDataType<?>, Map<Identifier, ?>> results)
m_278800_(C_278349_<T> p_279205_, C_77_ p_279441_, Executor p_279233_, Map<C_278349_<?>, Map<C_5265_, ?>> p_279241_)
private void
a(Map<ecv<?>, Map<aew, ?>> arg0)
apply(Map<LootDataType<?>, Map<ResourceLocation, ?>> arg0)
method_20712(Map<class_8490<?>, Map<class_2960, ?>> arg0)
validate(Map<LootDataType<?>, Map<Identifier, ?>> lootData)
m_278787_(Map<C_278349_<?>, Map<C_5265_, ?>> arg0)
private static <T> void
a(ecz arg0, ecs<T> arg1, Object arg2)
castAndValidate(ValidationContext arg0, LootDataId<T> arg1, Object arg2)
method_51196(class_58 arg0, class_8488<T> arg1, Object arg2)
validate(LootTableReporter reporter, LootDataKey<T> key, Object value)
m_278621_(C_2837_ p_279270_, C_278364_<T> p_279249_, Object p_279342_)
public <T> T
getElement(ecs<T> arg0)
getElement(LootDataId<T> arg0)
getElement(class_8488<T> arg0)
getElement(LootDataKey<T> arg0)
m_278667_(C_278364_<T> arg0)
public Collection<ResourceLocation>
a(ecv<?> arg0)
getKeys(LootDataType<?> arg0)
method_51193(class_8490<?> arg0)
getIds(LootDataType<?> type)
m_278706_(C_278349_<?> arg0)