Package net.minecraft.entity.effect
Class AbsorptionStatusEffect
java.lang.Object
net.minecraft.entity.effect.StatusEffect
net.minecraft.entity.effect.AbsorptionStatusEffect
- Mappings:
Namespace Name official bla
intermediary net/minecraft/class_1288
named net/minecraft/entity/effect/AbsorptionStatusEffect
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbsorptionStatusEffect
(StatusEffectCategory category, int color) -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyUpdateEffect
(LivingEntity entity, int amplifier) boolean
canApplyUpdateEffect
(int duration, int amplifier) void
onApplied
(LivingEntity entity, int amplifier) Methods inherited from class net.minecraft.entity.effect.StatusEffect
addAttributeModifier, applyInstantEffect, getAttributeModifiers, getCategory, getColor, getFactorCalculationDataSupplier, getName, getRegistryEntry, getTranslationKey, isBeneficial, isInstant, loadTranslationKey, onApplied, onRemoved, setFactorCalculationDataSupplier
-
Constructor Details
-
AbsorptionStatusEffect
- Mappings:
Namespace Name Mixin selector official <init>
Lblg;<init>(Lblh;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/StatusEffectCategory;I)V
-
-
Method Details
-
applyUpdateEffect
- Overrides:
applyUpdateEffect
in classStatusEffect
- Mappings:
Namespace Name Mixin selector official a
Lblg;a(Lbml;I)V
intermediary method_5572
Lnet/minecraft/class_1291;method_5572(Lnet/minecraft/class_1309;I)V
named applyUpdateEffect
Lnet/minecraft/entity/effect/StatusEffect;applyUpdateEffect(Lnet/minecraft/entity/LivingEntity;I)V
-
canApplyUpdateEffect
public boolean canApplyUpdateEffect(int duration, int amplifier) - Overrides:
canApplyUpdateEffect
in classStatusEffect
- Mappings:
Namespace Name Mixin selector official a
Lblg;a(II)Z
intermediary method_5552
Lnet/minecraft/class_1291;method_5552(II)Z
named canApplyUpdateEffect
Lnet/minecraft/entity/effect/StatusEffect;canApplyUpdateEffect(II)Z
-
onApplied
- Overrides:
onApplied
in classStatusEffect
- Mappings:
Namespace Name Mixin selector official b
Lblg;b(Lbml;I)V
intermediary method_52520
Lnet/minecraft/class_1291;method_52520(Lnet/minecraft/class_1309;I)V
named onApplied
Lnet/minecraft/entity/effect/StatusEffect;onApplied(Lnet/minecraft/entity/LivingEntity;I)V
-