类 CompositeEntryBase
java.lang.Object
net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer
net.minecraft.world.level.storage.loot.entries.CompositeEntryBase
- 所有已实现的接口:
ComposableEntryContainer
- 直接已知子类:
AlternativesEntry
,EntryGroup
,SequentialEntry
-
嵌套类概要
嵌套类修饰符和类型类说明static interface
从类继承的嵌套类/接口 net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer
LootPoolEntryContainer.Builder<T extends LootPoolEntryContainer.Builder<T>>
-
字段概要
字段从类继承的字段 net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer
conditions
从接口继承的字段 net.minecraft.world.level.storage.loot.entries.ComposableEntryContainer
ALWAYS_FALSE, ALWAYS_TRUE
-
构造器概要
构造器限定符构造器说明protected
CompositeEntryBase
(List<LootPoolEntryContainer> p_299424_, List<LootItemCondition> p_299955_) -
方法概要
修饰符和类型方法说明protected abstract ComposableEntryContainer
compose
(List<? extends ComposableEntryContainer> p_298994_) static <T extends CompositeEntryBase>
com.mojang.serialization.MapCodec<T> createCodec
(CompositeEntryBase.CompositeEntryConstructor<T> p_300261_) final boolean
expand
(LootContext p_79439_, Consumer<LootPoolEntry> p_79440_) void
validate
(ValidationContext p_79434_) 从类继承的方法 net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer
canRun, commonFields, getType
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.world.level.storage.loot.entries.ComposableEntryContainer
and, or
-
字段详细资料
-
children
-
composedChildren
-
-
构造器详细资料
-
CompositeEntryBase
protected CompositeEntryBase(List<LootPoolEntryContainer> p_299424_, List<LootItemCondition> p_299955_)
-
-
方法详细资料
-
validate
- 覆盖:
validate
在类中LootPoolEntryContainer
-
compose
protected abstract ComposableEntryContainer compose(List<? extends ComposableEntryContainer> p_298994_) -
expand
-
createCodec
public static <T extends CompositeEntryBase> com.mojang.serialization.MapCodec<T> createCodec(CompositeEntryBase.CompositeEntryConstructor<T> p_300261_)
-