public class DamageSourceProperties extends java.lang.Object implements ILootCondition
Modifier and Type | Class and Description |
---|---|
static class |
DamageSourceProperties.Serializer |
ILootCondition.AbstractSerializer<T extends ILootCondition>, ILootCondition.IBuilder
Modifier and Type | Field and Description |
---|---|
private DamageSourcePredicate |
predicate |
Modifier | Constructor and Description |
---|---|
private |
DamageSourceProperties(DamageSourcePredicate p_i51205_1_) |
Modifier and Type | Method and Description |
---|---|
static ILootCondition.IBuilder |
builder(DamageSourcePredicate.Builder p_215966_0_) |
java.util.Set<LootParameter<?>> |
getRequiredParameters() |
boolean |
test(LootContext p_test_1_) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
func_225580_a_
private final DamageSourcePredicate predicate
private DamageSourceProperties(DamageSourcePredicate p_i51205_1_)
public java.util.Set<LootParameter<?>> getRequiredParameters()
getRequiredParameters
in interface IParameterized
public boolean test(LootContext p_test_1_)
test
in interface java.util.function.Predicate<LootContext>
public static ILootCondition.IBuilder builder(DamageSourcePredicate.Builder p_215966_0_)