public class Alternative extends java.lang.Object implements ILootCondition
Modifier and Type | Class and Description |
---|---|
static class |
Alternative.Builder |
static class |
Alternative.Serializer |
ILootCondition.AbstractSerializer<T extends ILootCondition>, ILootCondition.IBuilder
Modifier and Type | Field and Description |
---|---|
private ILootCondition[] |
conditions |
private java.util.function.Predicate<LootContext> |
field_215963_b |
Modifier | Constructor and Description |
---|---|
private |
Alternative(ILootCondition[] conditionsIn) |
Modifier and Type | Method and Description |
---|---|
static Alternative.Builder |
builder(ILootCondition.IBuilder... buildersIn) |
void |
func_225580_a_(ValidationTracker p_225580_1_) |
boolean |
test(LootContext p_test_1_) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRequiredParameters
private final ILootCondition[] conditions
private final java.util.function.Predicate<LootContext> field_215963_b
private Alternative(ILootCondition[] conditionsIn)
public final boolean test(LootContext p_test_1_)
test
in interface java.util.function.Predicate<LootContext>
public void func_225580_a_(ValidationTracker p_225580_1_)
func_225580_a_
in interface IParameterized
public static Alternative.Builder builder(ILootCondition.IBuilder... buildersIn)