public final class HealthModifierTypes extends Object
Modifier and Type | Field and Description |
---|---|
static HealthModifierType |
ABSORPTION
Represents a
HealthModifier that "absorbs" damage based on
the PotionEffectTypes.ABSORPTION level on the
Entity . |
static HealthModifierType |
ARMOR
Represents a
HealthModifier that will reduce damage based on
the armor ItemStack s. |
static HealthModifierType |
DEFENSIVE_POTION_EFFECT
Represents a
HealthModifier that will modify the heal amount
from a PotionEffect affecting the target. |
static HealthModifierType |
DIFFICULTY
|
static HealthModifierType |
MAGIC
Represents a
HealthModifier that will modify damage based on
magic. |
static HealthModifierType |
OFFENSIVE_POTION_EFFECT
Represents the
HealthModifier that will increase heal amount
from a PotionEffect affecting the target. |
static HealthModifierType |
WEAPON_ENCHANTMENT
Represents the
HealthModifier that will modify heal amount from
an EnchantmentType on an equipped ItemStack . |
public static final HealthModifierType ABSORPTION
HealthModifier
that "absorbs" damage based on
the PotionEffectTypes.ABSORPTION
level on the
Entity
.public static final HealthModifierType ARMOR
HealthModifier
that will reduce damage based on
the armor ItemStack
s.public static final HealthModifierType DEFENSIVE_POTION_EFFECT
HealthModifier
that will modify the heal amount
from a PotionEffect
affecting the target.public static final HealthModifierType DIFFICULTY
public static final HealthModifierType MAGIC
HealthModifier
that will modify damage based on
magic.public static final HealthModifierType OFFENSIVE_POTION_EFFECT
HealthModifier
that will increase heal amount
from a PotionEffect
affecting the target.public static final HealthModifierType WEAPON_ENCHANTMENT
HealthModifier
that will modify heal amount from
an EnchantmentType
on an equipped ItemStack
.
Usually, within the HealthModifier.getCause()
will reside
an ItemStackSnapshot
and an Enchantment
signifying
that the EnchantmentType
of the ItemStack
is modifying the
incoming/outgoing heal amount.