Class 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
- All Implemented Interfaces:
- ComposableEntryContainer
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class net.minecraft.world.level.storage.loot.entries.CompositeEntryBaseCompositeEntryBase.CompositeEntryConstructor<T extends CompositeEntryBase>
- 
Field SummaryFieldsFields inherited from class net.minecraft.world.level.storage.loot.entries.CompositeEntryBasechildrenFields inherited from class net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainerconditionsFields inherited from interface net.minecraft.world.level.storage.loot.entries.ComposableEntryContainerALWAYS_FALSE, ALWAYS_TRUE
- 
Constructor SummaryConstructorsConstructorDescriptionAlternativesEntry(List<LootPoolEntryContainer> p_299703_, List<LootItemCondition> p_299222_) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic <E> AlternativesEntry.Builderalternatives(Collection<E> p_230934_, Function<E, LootPoolEntryContainer.Builder<?>> p_230935_) static AlternativesEntry.Builderalternatives(LootPoolEntryContainer.Builder<?>... p_79396_) protected ComposableEntryContainercompose(List<? extends ComposableEntryContainer> p_298385_) getType()voidvalidate(ValidationContext p_79388_) Methods inherited from class net.minecraft.world.level.storage.loot.entries.CompositeEntryBasecreateCodec, expandMethods inherited from class net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainercanRun, commonFieldsMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.storage.loot.entries.ComposableEntryContainerand, or
- 
Field Details- 
CODEC
 
- 
- 
Constructor Details- 
AlternativesEntryAlternativesEntry(List<LootPoolEntryContainer> p_299703_, List<LootItemCondition> p_299222_) 
 
- 
- 
Method Details- 
getType- Specified by:
- getTypein class- LootPoolEntryContainer
 
- 
compose- Specified by:
- composein class- CompositeEntryBase
 
- 
validate- Overrides:
- validatein class- CompositeEntryBase
 
- 
alternatives
- 
alternativespublic static <E> AlternativesEntry.Builder alternatives(Collection<E> p_230934_, Function<E, LootPoolEntryContainer.Builder<?>> p_230935_) 
 
-