public interface HealthModifier
DoubleUnaryOperator
such that the output will be the final damage
applied to the Entity
.Modifier and Type | Interface and Description |
---|---|
static class |
HealthModifier.Builder
A builder that creates
HealthModifier s, for use in both plugin
and implementation requirements. |
Modifier and Type | Method and Description |
---|---|
static HealthModifier.Builder |
builder()
Creates a new
HealthModifier.Builder for constructing new HealthModifier s. |
Cause |
getCause()
Gets the cause of this
HealthModifier . |
HealthModifierType |
getType()
Gets the
HealthModifierType for this HealthModifier . |
static HealthModifier.Builder builder()
HealthModifier.Builder
for constructing new HealthModifier
s.HealthModifierType getType()
HealthModifierType
for this HealthModifier
.Cause getCause()
HealthModifier
.