Class InstantHealthOrDamageStatusEffect

All Implemented Interfaces:
ToggleableFeature

class InstantHealthOrDamageStatusEffect extends InstantStatusEffect
Mappings:
Namespace Name
named net/minecraft/entity/effect/InstantHealthOrDamageStatusEffect
intermediary net/minecraft/class_8632
official bui
  • Field Details

    • damage

      private final boolean damage
      Mappings:
      Namespace Name Mixin selector
      named damage Lnet/minecraft/entity/effect/InstantHealthOrDamageStatusEffect;damage:Z
      intermediary field_45103 Lnet/minecraft/class_8632;field_45103:Z
      official c Lbui;c:Z
  • Constructor Details

    • InstantHealthOrDamageStatusEffect

      public InstantHealthOrDamageStatusEffect(StatusEffectCategory category, int color, boolean damage)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/effect/InstantHealthOrDamageStatusEffect;<init>(Lnet/minecraft/entity/effect/StatusEffectCategory;IZ)V
      intermediary <init> Lnet/minecraft/class_8632;<init>(Lnet/minecraft/class_4081;IZ)V
      official <init> Lbui;<init>(Lbun;IZ)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
    • applyInstantEffect

      public void applyInstantEffect(ServerWorld world, @Nullable @Nullable Entity effectEntity, @Nullable @Nullable Entity attacker, LivingEntity target, int amplifier, double proximity)
      Overrides:
      applyInstantEffect in class StatusEffect
      Mappings:
      Namespace Name Mixin selector
      named applyInstantEffect Lnet/minecraft/entity/effect/StatusEffect;applyInstantEffect(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/LivingEntity;ID)V
      intermediary method_5564 Lnet/minecraft/class_1291;method_5564(Lnet/minecraft/class_3218;Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;Lnet/minecraft/class_1309;ID)V
      official a Lbum;a(Lash;Lbvj;Lbvj;Lbwf;ID)V