Class BadOmenStatusEffect

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

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

    • BadOmenStatusEffect

      protected BadOmenStatusEffect(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> Lbsb;<init>(Lbsc;I)V
  • Method Details

    • 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 Lbsb;a(II)Z
    • applyUpdateEffect

      public boolean applyUpdateEffect(LivingEntity entity, int amplifier)
      Overrides:
      applyUpdateEffect in class StatusEffect
      Mappings:
      Namespace Name Mixin selector
      named applyUpdateEffect Lnet/minecraft/entity/effect/StatusEffect;applyUpdateEffect(Lnet/minecraft/entity/LivingEntity;I)Z
      intermediary method_5572 Lnet/minecraft/class_1291;method_5572(Lnet/minecraft/class_1309;I)Z
      official a Lbsb;a(Lbtq;I)Z
    • tryStartRaid

      private boolean tryStartRaid(ServerPlayerEntity player, ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      named tryStartRaid Lnet/minecraft/entity/effect/BadOmenStatusEffect;tryStartRaid(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/server/world/ServerWorld;)Z
      intermediary method_58613 Lnet/minecraft/class_8631;method_58613(Lnet/minecraft/class_3222;Lnet/minecraft/class_3218;)Z
      official a Lbrw;a(Larg;Larf;)Z