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
- Mappings:
Namespace Name official aqjintermediary net/minecraft/class_1288named net/minecraft/entity/effect/AbsorptionStatusEffect
-
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
- Mappings:
Namespace Name Mixin selector official <init>Laqn;<init>(Laqo;I)Vintermediary <init>Lnet/minecraft/class_1291;<init>(Lnet/minecraft/class_4081;I)Vnamed <init>Lnet/minecraft/entity/effect/StatusEffect;<init>(Lnet/minecraft/entity/effect/StatusEffectType;I)V
-
-
Method Details
-
onRemoved
- Overrides:
onRemovedin classStatusEffect- Mappings:
Namespace Name Mixin selector official aLaqn;a(Lari;Lasf;I)Vintermediary method_5562Lnet/minecraft/class_1291;method_5562(Lnet/minecraft/class_1309;Lnet/minecraft/class_5131;I)Vnamed onRemovedLnet/minecraft/entity/effect/StatusEffect;onRemoved(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/attribute/AttributeContainer;I)V
-
onApplied
- Overrides:
onAppliedin classStatusEffect- Mappings:
Namespace Name Mixin selector official bLaqn;b(Lari;Lasf;I)Vintermediary method_5555Lnet/minecraft/class_1291;method_5555(Lnet/minecraft/class_1309;Lnet/minecraft/class_5131;I)Vnamed onAppliedLnet/minecraft/entity/effect/StatusEffect;onApplied(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/attribute/AttributeContainer;I)V
-