public static class DamagePredicate.Builder extends Object
Modifier and Type | Field and Description |
---|---|
private Boolean |
blocked |
private NumberRange.FloatRange |
dealt |
private EntityPredicate |
sourceEntity |
private NumberRange.FloatRange |
taken |
private DamageSourcePredicate |
type |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DamagePredicate.Builder |
blocked(Boolean blocked) |
DamagePredicate |
build() |
static DamagePredicate.Builder |
create() |
DamagePredicate.Builder |
type(DamageSourcePredicate.Builder builder) |
private NumberRange.FloatRange dealt
private NumberRange.FloatRange taken
private EntityPredicate sourceEntity
private Boolean blocked
private DamageSourcePredicate type
public static DamagePredicate.Builder create()
public DamagePredicate.Builder blocked(Boolean blocked)
public DamagePredicate.Builder type(DamageSourcePredicate.Builder builder)
public DamagePredicate build()