Package net.minecraft.entity.effect
Class AbsorptionStatusEffect
java.lang.Object
net.minecraft.entity.effect.StatusEffect
net.minecraft.entity.effect.AbsorptionStatusEffect
public class AbsorptionStatusEffect extends StatusEffect
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbsorptionStatusEffect(StatusEffectType type, int color)
-
Method Summary
Modifier and Type Method Description void
onApplied(LivingEntity entity, AttributeContainer attributes, int amplifier)
void
onRemoved(LivingEntity entity, AttributeContainer attributes, int amplifier)
Methods inherited from class net.minecraft.entity.effect.StatusEffect
addAttributeModifier, adjustModifierAmount, applyInstantEffect, applyUpdateEffect, byRawId, canApplyUpdateEffect, getAttributeModifiers, getColor, getName, getRawId, getTranslationKey, getType, isBeneficial, isInstant, loadTranslationKey
-
Constructor Details
-
AbsorptionStatusEffect
-
-
Method Details
-
onRemoved
- Overrides:
onRemoved
in classStatusEffect
-
onApplied
- Overrides:
onApplied
in classStatusEffect
-