类 AlternativesEntry
java.lang.Object
net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer
net.minecraft.world.level.storage.loot.entries.CompositeEntryBase
net.minecraft.world.level.storage.loot.entries.AlternativesEntry
- 所有已实现的接口:
ComposableEntryContainer
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 net.minecraft.world.level.storage.loot.entries.CompositeEntryBase
CompositeEntryBase.CompositeEntryConstructor<T extends CompositeEntryBase>
从类继承的嵌套类/接口 net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer
LootPoolEntryContainer.Serializer<T extends LootPoolEntryContainer>
-
字段概要
从类继承的字段 net.minecraft.world.level.storage.loot.entries.CompositeEntryBase
children
从类继承的字段 net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer
conditions
从接口继承的字段 net.minecraft.world.level.storage.loot.entries.ComposableEntryContainer
ALWAYS_FALSE, ALWAYS_TRUE
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static <E> AlternativesEntry.Builder
alternatives
(Collection<E> p_230934_, Function<E, LootPoolEntryContainer.Builder<?>> p_230935_) static AlternativesEntry.Builder
alternatives
(LootPoolEntryContainer.Builder<?>... pChildren) protected ComposableEntryContainer
compose
(ComposableEntryContainer[] pEntries) getType()
void
validate
(ValidationContext pValidationContext) 从类继承的方法 net.minecraft.world.level.storage.loot.entries.CompositeEntryBase
createSerializer, expand
从类继承的方法 net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer
canRun
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.world.level.storage.loot.entries.ComposableEntryContainer
and, or
-
构造器详细资料
-
AlternativesEntry
AlternativesEntry(LootPoolEntryContainer[] pChildren, LootItemCondition[] pConditions)
-
-
方法详细资料
-
getType
- 指定者:
getType
在类中LootPoolEntryContainer
-
compose
- 指定者:
compose
在类中CompositeEntryBase
-
validate
- 覆盖:
validate
在类中CompositeEntryBase
-
alternatives
public static AlternativesEntry.Builder alternatives(LootPoolEntryContainer.Builder<?>... pChildren) -
alternatives
public static <E> AlternativesEntry.Builder alternatives(Collection<E> p_230934_, Function<E, LootPoolEntryContainer.Builder<?>> p_230935_)
-