Class BadOmenStatusEffect

java.lang.Object
net.minecraft.entity.effect.StatusEffect
net.minecraft.entity.effect.BadOmenStatusEffect

class BadOmenStatusEffect extends StatusEffect
Mappings:
Namespace Name
official blc
intermediary net/minecraft/class_8631
named net/minecraft/entity/effect/BadOmenStatusEffect
  • Constructor Details

    • BadOmenStatusEffect

      protected BadOmenStatusEffect(StatusEffectCategory category, int color)
      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

    • canApplyUpdateEffect

      public boolean canApplyUpdateEffect(int duration, int amplifier)
      Overrides:
      canApplyUpdateEffect in class StatusEffect
      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
    • applyUpdateEffect

      public void applyUpdateEffect(LivingEntity entity, int amplifier)
      Overrides:
      applyUpdateEffect in class StatusEffect
      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