类 NestedLootTable
java.lang.Object
net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer
net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer
net.minecraft.world.level.storage.loot.entries.NestedLootTable
- 所有已实现的接口:
ComposableEntryContainer
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer
LootPoolSingletonContainer.Builder<T extends LootPoolSingletonContainer.Builder<T>>, LootPoolSingletonContainer.DummyBuilder, LootPoolSingletonContainer.EntryBase, LootPoolSingletonContainer.EntryConstructor
-
字段概要
字段修饰符和类型字段说明static final com.mojang.serialization.MapCodec
<NestedLootTable> private final com.mojang.datafixers.util.Either
<ResourceKey<LootTable>, LootTable> 从类继承的字段 net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer
compositeFunction, DEFAULT_QUALITY, DEFAULT_WEIGHT, functions, quality, weight
从类继承的字段 net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer
conditions
从接口继承的字段 net.minecraft.world.level.storage.loot.entries.ComposableEntryContainer
ALWAYS_FALSE, ALWAYS_TRUE
-
构造器概要
构造器限定符构造器说明private
NestedLootTable
(com.mojang.datafixers.util.Either<ResourceKey<LootTable>, LootTable> p_335218_, int p_332597_, int p_330218_, List<LootItemCondition> p_335913_, List<LootItemFunction> p_331388_) -
方法概要
修饰符和类型方法说明void
createItemStack
(Consumer<ItemStack> p_329435_, LootContext p_332786_) getType()
static LootPoolSingletonContainer.Builder
<?> inlineLootTable
(LootTable p_336216_) static LootPoolSingletonContainer.Builder
<?> lootTableReference
(ResourceKey<LootTable> p_332425_) void
validate
(ValidationContext p_331194_) 从类继承的方法 net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer
expand, simpleBuilder, singletonFields
从类继承的方法 net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer
canRun, commonFields
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.world.level.storage.loot.entries.ComposableEntryContainer
and, or
-
字段详细资料
-
CODEC
-
contents
-
-
构造器详细资料
-
NestedLootTable
private NestedLootTable(com.mojang.datafixers.util.Either<ResourceKey<LootTable>, LootTable> p_335218_, int p_332597_, int p_330218_, List<LootItemCondition> p_335913_, List<LootItemFunction> p_331388_)
-
-
方法详细资料
-
getType
- 指定者:
getType
在类中LootPoolEntryContainer
-
createItemStack
-
validate
- 覆盖:
validate
在类中LootPoolSingletonContainer
-
lootTableReference
public static LootPoolSingletonContainer.Builder<?> lootTableReference(ResourceKey<LootTable> p_332425_) -
inlineLootTable
-