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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionappend(LootPoolEntryContainer.Builder<?> p_165148_)
abstract LootPoolEntryContainer
build()
protected LootItemCondition[]
protected abstract T
getThis()
otherwise(LootPoolEntryContainer.Builder<?> p_79644_)
then(LootPoolEntryContainer.Builder<?> p_165149_)
unwrap()
when(LootItemCondition.Builder p_79646_)
-
Field Details
-
conditions
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
getThis
-
when
- Specified by:
when
in interfaceConditionUserBuilder<T extends LootPoolEntryContainer.Builder<T>>
-
unwrap
- Specified by:
unwrap
in interfaceConditionUserBuilder<T extends LootPoolEntryContainer.Builder<T>>
-
getConditions
-
otherwise
-
append
-
then
-
build
-