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 protectedAbsorptionStatusEffect(StatusEffectType type, int color) -
Method Summary
Modifier and Type Method Description voidonApplied(LivingEntity entity, AttributeContainer attributes, int amplifier)voidonRemoved(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:
onRemovedin classStatusEffect
-
onApplied
- Overrides:
onAppliedin classStatusEffect
-