net.minecraft.world.level.storage.loot

public class LootDataManager

implements PreparableReloadListener, LootDataResolver

dzn
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_
public static final LootDataId<LootTable>
a
EMPTY_LOOT_TABLE_KEY
field_44491
EMPTY_LOOT_TABLE
f_278474_
private Map<LootDataId<?>, ?>
c
elements
field_44492
keyToValue
f_278415_
private com.google.common.collect.Multimap<LootDataType<?>, ResourceLocation>
d
typeKeys
field_44493
typeToIds
f_278404_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public final CompletableFuture<Void>
a(akr$a arg0, akx arg1, ban arg2, ban 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(dzp<T> arg0, akx arg1, Executor arg2, Map<dzp<?>, Map<acq, ?>> 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<dzp<?>, Map<acq, ?>> 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(dzv arg0, dzm<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(dzm<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(dzp<?> arg0)
getKeys(LootDataType<?> arg0)
method_51193(class_8490<?> arg0)
getIds(LootDataType<?> type)
m_278706_(C_278349_<?> arg0)
public static LootItemCondition
a(eck[] arg0)
createComposite(LootItemCondition[] arg0)
method_51201(class_5341[] arg0)
and(LootCondition[] predicates)
m_278755_(C_3004_[] p_279415_)
public static LootItemFunction
a(eaz[] arg0)
createComposite(LootItemFunction[] arg0)
method_51200(class_117[] arg0)
and(LootFunction[] modifiers)
m_278704_(C_2928_[] p_279450_)