类 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>
-
字段概要
字段修饰符和类型字段说明static final com.mojang.serialization.MapCodec
<AlternativesEntry> static final ProblemReporter.Problem
从类继承的字段 net.minecraft.world.level.storage.loot.entries.CompositeEntryBase
children, NO_CHILDREN_PROBLEM
从类继承的字段 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<?>... p_79396_) protected ComposableEntryContainer
compose
(List<? extends ComposableEntryContainer> p_298256_) getType()
void
validate
(ValidationContext p_79388_) 从类继承的方法 net.minecraft.world.level.storage.loot.entries.CompositeEntryBase
createCodec, expand
从类继承的方法 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
-
UNREACHABLE_PROBLEM
-
-
构造器详细资料
-
AlternativesEntry
AlternativesEntry(List<LootPoolEntryContainer> p_299062_, List<LootItemCondition> p_298668_)
-
-
方法详细资料
-
getType
- 指定者:
getType
在类中LootPoolEntryContainer
-
compose
- 指定者:
compose
在类中CompositeEntryBase
-
validate
- 覆盖:
validate
在类中CompositeEntryBase
-
alternatives
-
alternatives
public static <E> AlternativesEntry.Builder alternatives(Collection<E> p_230934_, Function<E, LootPoolEntryContainer.Builder<?>> p_230935_)
-