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
Modifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableList.Builder
<LootItemCondition> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionappend
(LootPoolEntryContainer.Builder<?> p_165148_) abstract LootPoolEntryContainer
build()
protected List
<LootItemCondition> protected abstract T
getThis()
otherwise
(LootPoolEntryContainer.Builder<?> p_79644_) then
(LootPoolEntryContainer.Builder<?> p_165149_) final T
unwrap()
when
(LootItemCondition.Builder p_79646_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.level.storage.loot.predicates.ConditionUserBuilder
when
-
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
-