Class AbsorptionStatusEffect

java.lang.Object
net.minecraft.entity.effect.StatusEffect
net.minecraft.entity.effect.AbsorptionStatusEffect
All Implemented Interfaces:
ToggleableFeature

class AbsorptionStatusEffect extends StatusEffect
Mappings:
Namespace Name
named net/minecraft/entity/effect/AbsorptionStatusEffect
intermediary net/minecraft/class_1288
official bug
  • Constructor Details

    • AbsorptionStatusEffect

      protected AbsorptionStatusEffect(StatusEffectCategory category, int color)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/effect/StatusEffect;<init>(Lnet/minecraft/entity/effect/StatusEffectCategory;I)V
      intermediary <init> Lnet/minecraft/class_1291;<init>(Lnet/minecraft/class_4081;I)V
      official <init> Lbum;<init>(Lbun;I)V
  • Method Details

    • applyUpdateEffect

      public boolean applyUpdateEffect(ServerWorld world, LivingEntity entity, int amplifier)
      Overrides:
      applyUpdateEffect in class StatusEffect
      Mappings:
      Namespace Name Mixin selector
      named applyUpdateEffect Lnet/minecraft/entity/effect/StatusEffect;applyUpdateEffect(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;I)Z
      intermediary method_5572 Lnet/minecraft/class_1291;method_5572(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;I)Z
      official a Lbum;a(Lash;Lbwf;I)Z
    • canApplyUpdateEffect

      public boolean canApplyUpdateEffect(int duration, int amplifier)
      Overrides:
      canApplyUpdateEffect in class StatusEffect
      Mappings:
      Namespace Name Mixin selector
      named canApplyUpdateEffect Lnet/minecraft/entity/effect/StatusEffect;canApplyUpdateEffect(II)Z
      intermediary method_5552 Lnet/minecraft/class_1291;method_5552(II)Z
      official a Lbum;a(II)Z
    • onApplied

      public void onApplied(LivingEntity entity, int amplifier)
      Overrides:
      onApplied in class StatusEffect
      Mappings:
      Namespace Name Mixin selector
      named onApplied Lnet/minecraft/entity/effect/StatusEffect;onApplied(Lnet/minecraft/entity/LivingEntity;I)V
      intermediary method_52520 Lnet/minecraft/class_1291;method_52520(Lnet/minecraft/class_1309;I)V
      official a Lbum;a(Lbwf;I)V