Package net.minecraft.entity.effect
Class AbsorptionStatusEffect
java.lang.Object
net.minecraft.entity.effect.StatusEffect
net.minecraft.entity.effect.AbsorptionStatusEffect
- Mappings:
Namespace Name official bhlintermediary net/minecraft/class_1288named net/minecraft/entity/effect/AbsorptionStatusEffect
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbsorptionStatusEffect(StatusEffectCategory category, int color) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyUpdateEffect(LivingEntity entity, int amplifier) booleancanApplyUpdateEffect(int duration, int amplifier) voidmethod_52520(LivingEntity livingEntity, int int2) Methods inherited from class net.minecraft.entity.effect.StatusEffect
addAttributeModifier, applyInstantEffect, byRawId, getAttributeModifiers, getCategory, getColor, getFactorCalculationDataSupplier, getName, getRawId, getRawIdNullable, getTranslationKey, isBeneficial, isInstant, loadTranslationKey, onApplied, onRemoved, setFactorCalculationDataSupplier
-
Constructor Details
-
AbsorptionStatusEffect
- Mappings:
Namespace Name Mixin selector official <init>Lbhr;<init>(Lbhs;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/StatusEffectCategory;I)V
-
-
Method Details
-
applyUpdateEffect
- Overrides:
applyUpdateEffectin classStatusEffect- Mappings:
Namespace Name Mixin selector official aLbhr;a(Lbiw;I)Vintermediary method_5572Lnet/minecraft/class_1291;method_5572(Lnet/minecraft/class_1309;I)Vnamed applyUpdateEffectLnet/minecraft/entity/effect/StatusEffect;applyUpdateEffect(Lnet/minecraft/entity/LivingEntity;I)V
-
canApplyUpdateEffect
public boolean canApplyUpdateEffect(int duration, int amplifier) - Overrides:
canApplyUpdateEffectin classStatusEffect- Mappings:
Namespace Name Mixin selector official aLbhr;a(II)Zintermediary method_5552Lnet/minecraft/class_1291;method_5552(II)Znamed canApplyUpdateEffectLnet/minecraft/entity/effect/StatusEffect;canApplyUpdateEffect(II)Z
-
method_52520
- Overrides:
method_52520in classStatusEffect- Mappings:
Namespace Name Mixin selector official bLbhr;b(Lbiw;I)Vintermediary method_52520Lnet/minecraft/class_1291;method_52520(Lnet/minecraft/class_1309;I)Vnamed method_52520Lnet/minecraft/entity/effect/StatusEffect;method_52520(Lnet/minecraft/entity/LivingEntity;I)V
-