Package net.minecraft.entity.effect
Class AbsorptionStatusEffect
java.lang.Object
net.minecraft.entity.effect.StatusEffect
net.minecraft.entity.effect.AbsorptionStatusEffect
- Mappings:
Namespace Name official ast
intermediary net/minecraft/class_1288
named net/minecraft/entity/effect/AbsorptionStatusEffect
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbsorptionStatusEffect(StatusEffectType type, int color)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
- Mappings:
Namespace Name Mixin selector official <init>
Lasx;<init>(Lasy;I)V
intermediary <init>
Lnet/minecraft/class_1291;<init>(Lnet/minecraft/class_4081;I)V
named <init>
Lnet/minecraft/entity/effect/StatusEffect;<init>(Lnet/minecraft/entity/effect/StatusEffectType;I)V
-
-
Method Details
-
onRemoved
- Overrides:
onRemoved
in classStatusEffect
- Mappings:
Namespace Name Mixin selector official a
Lasx;a(Latt;Laur;I)V
intermediary method_5562
Lnet/minecraft/class_1291;method_5562(Lnet/minecraft/class_1309;Lnet/minecraft/class_5131;I)V
named onRemoved
Lnet/minecraft/entity/effect/StatusEffect;onRemoved(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/attribute/AttributeContainer;I)V
-
onApplied
- Overrides:
onApplied
in classStatusEffect
- Mappings:
Namespace Name Mixin selector official b
Lasx;b(Latt;Laur;I)V
intermediary method_5555
Lnet/minecraft/class_1291;method_5555(Lnet/minecraft/class_1309;Lnet/minecraft/class_5131;I)V
named onApplied
Lnet/minecraft/entity/effect/StatusEffect;onApplied(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/attribute/AttributeContainer;I)V
-