Package net.minecraft.loot.conditions
Class Alternative.Builder
- java.lang.Object
-
- net.minecraft.loot.conditions.Alternative.Builder
-
- All Implemented Interfaces:
ILootCondition.IBuilder
- Enclosing class:
- Alternative
public static class Alternative.Builder extends java.lang.Object implements ILootCondition.IBuilder
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<ILootCondition>
terms
-
Constructor Summary
Constructors Constructor Description Builder(ILootCondition.IBuilder... p_i50046_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ILootCondition
build()
Alternative.Builder
or(ILootCondition.IBuilder p_216297_1_)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.loot.conditions.ILootCondition.IBuilder
invert
-
-
-
-
Field Detail
-
terms
private final java.util.List<ILootCondition> terms
-
-
Constructor Detail
-
Builder
public Builder(ILootCondition.IBuilder... p_i50046_1_)
-
-
Method Detail
-
or
public Alternative.Builder or(ILootCondition.IBuilder p_216297_1_)
- Specified by:
or
in interfaceILootCondition.IBuilder
-
build
public ILootCondition build()
- Specified by:
build
in interfaceILootCondition.IBuilder
-
-