类 LootDataManager
java.lang.Object
net.minecraft.world.level.storage.loot.LootDataManager
- 所有已实现的接口:
PreparableReloadListener
,LootDataResolver
-
嵌套类概要
嵌套类修饰符和类型类说明(专用程序包) static class
(专用程序包) static class
从接口继承的嵌套类/接口 net.minecraft.server.packs.resources.PreparableReloadListener
PreparableReloadListener.PreparationBarrier
-
字段概要
字段修饰符和类型字段说明private Map<LootDataId<?>,
?> static final LootDataId<LootTable>
private static final org.slf4j.Logger
private com.google.common.collect.Multimap<LootDataType<?>,
ResourceLocation> -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private void
apply
(Map<LootDataType<?>, Map<ResourceLocation, ?>> p_279426_) private static <T> void
castAndValidate
(ValidationContext pContext, LootDataId<T> pId, Object p_279342_) static LootItemFunction
createComposite
(LootItemFunction[] pFunctions) static LootItemCondition
createComposite
(LootItemCondition[] pTerms) <T> T
getElement
(LootDataId<T> pId) getKeys
(LootDataType<?> pType) final CompletableFuture<Void>
reload
(PreparableReloadListener.PreparationBarrier pPreparationBarrier, ResourceManager pResourceManager, ProfilerFiller pPreparationsProfiler, ProfilerFiller pReloadProfiler, Executor pBackgroundExecutor, Executor pGameExecutor) private static <T> CompletableFuture<?>
scheduleElementParse
(LootDataType<T> pLootDataType, ResourceManager pResourceManager, Executor pBackgroundExecutor, Map<LootDataType<?>, Map<ResourceLocation, ?>> p_279241_) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.world.level.storage.loot.LootDataResolver
getElement, getElementOptional, getElementOptional, getLootTable
从接口继承的方法 net.minecraft.server.packs.resources.PreparableReloadListener
getName
-
字段详细资料
-
LOGGER
private static final org.slf4j.Logger LOGGER -
EMPTY_LOOT_TABLE_KEY
-
elements
-
typeKeys
-
-
构造器详细资料
-
LootDataManager
public LootDataManager()
-
-
方法详细资料
-
reload
public final CompletableFuture<Void> reload(PreparableReloadListener.PreparationBarrier pPreparationBarrier, ResourceManager pResourceManager, ProfilerFiller pPreparationsProfiler, ProfilerFiller pReloadProfiler, Executor pBackgroundExecutor, Executor pGameExecutor) - 指定者:
reload
在接口中PreparableReloadListener
-
scheduleElementParse
private static <T> CompletableFuture<?> scheduleElementParse(LootDataType<T> pLootDataType, ResourceManager pResourceManager, Executor pBackgroundExecutor, Map<LootDataType<?>, Map<ResourceLocation, ?>> p_279241_) -
apply
-
castAndValidate
private static <T> void castAndValidate(ValidationContext pContext, LootDataId<T> pId, Object p_279342_) -
getElement
- 指定者:
getElement
在接口中LootDataResolver
-
getKeys
-
createComposite
-
createComposite
-