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
HealthModifiers, 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 HealthModifiers. |
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 HealthModifiers.HealthModifierType getType()
HealthModifierType for this HealthModifier.Cause getCause()
HealthModifier.