public class AbsorptionStatusEffect extends StatusEffect
Modifier | Constructor and Description |
---|---|
protected |
AbsorptionStatusEffect(StatusEffectType type,
int color) |
Modifier and Type | Method and Description |
---|---|
void |
onApplied(LivingEntity entity,
AttributeContainer attributes,
int amplifier) |
void |
onRemoved(LivingEntity entity,
AttributeContainer attributes,
int amplifier) |
addAttributeModifier, adjustModifierAmount, applyInstantEffect, applyUpdateEffect, byRawId, canApplyUpdateEffect, getAttributeModifiers, getColor, getName, getRawId, getTranslationKey, getType, isBeneficial, isInstant, loadTranslationKey
protected AbsorptionStatusEffect(StatusEffectType type, int color)
public void onRemoved(LivingEntity entity, AttributeContainer attributes, int amplifier)
onRemoved
in class StatusEffect
public void onApplied(LivingEntity entity, AttributeContainer attributes, int amplifier)
onApplied
in class StatusEffect