Class CompositeLootItemCondition.Builder
java.lang.Object
net.minecraft.world.level.storage.loot.predicates.CompositeLootItemCondition.Builder
- All Implemented Interfaces:
LootItemCondition.Builder
- Direct Known Subclasses:
AllOfCondition.Builder
,AnyOfCondition.Builder
- Enclosing class:
CompositeLootItemCondition
public abstract static class CompositeLootItemCondition.Builder
extends Object
implements LootItemCondition.Builder
-
Field Summary
Modifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableList.Builder<LootItemCondition>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addTerm
(LootItemCondition.Builder p_286677_) build()
protected abstract LootItemCondition
create
(List<LootItemCondition> p_299194_) 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.LootItemCondition.Builder
and, invert, or
-
Field Details
-
terms
-
-
Constructor Details
-
Builder
-
-
Method Details
-
addTerm
-
build
- Specified by:
build
in interfaceLootItemCondition.Builder
-
create
-