Class LootPoolEntryContainer.Builder<T extends LootPoolEntryContainer.Builder<T>>
java.lang.Object
net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Builder<T>
- All Implemented Interfaces:
- ConditionUserBuilder<T>
- Direct Known Subclasses:
- AlternativesEntry.Builder,- EntryGroup.Builder,- LootPoolSingletonContainer.Builder,- SequentialEntry.Builder
- Enclosing class:
- LootPoolEntryContainer
public abstract static class LootPoolEntryContainer.Builder<T extends LootPoolEntryContainer.Builder<T>>
extends Object
implements ConditionUserBuilder<T>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableList.Builder<LootItemCondition>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionappend(LootPoolEntryContainer.Builder<?> p_165148_) abstract LootPoolEntryContainerbuild()protected List<LootItemCondition>protected abstract TgetThis()otherwise(LootPoolEntryContainer.Builder<?> p_79644_) then(LootPoolEntryContainer.Builder<?> p_165149_) final Tunwrap()when(LootItemCondition.Builder p_79646_) Methods 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.predicates.ConditionUserBuilderwhen
- 
Field Details- 
conditions
 
- 
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
getThis
- 
when- Specified by:
- whenin interface- ConditionUserBuilder<T extends LootPoolEntryContainer.Builder<T>>
 
- 
unwrap- Specified by:
- unwrapin interface- ConditionUserBuilder<T extends LootPoolEntryContainer.Builder<T>>
 
- 
getConditions
- 
otherwise
- 
append
- 
then
- 
build
 
-