Class DamageModifierStatusEffect

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

public class DamageModifierStatusEffect extends StatusEffect
Mappings:
Namespace Name
official bbb
intermediary net/minecraft/class_1287
named net/minecraft/entity/effect/DamageModifierStatusEffect
  • Field Details

    • modifier

      protected final double modifier
      Mappings:
      Namespace Name Mixin selector
      official a Lbbb;a:D
      intermediary field_5881 Lnet/minecraft/class_1287;field_5881:D
      named modifier Lnet/minecraft/entity/effect/DamageModifierStatusEffect;modifier:D
  • Constructor Details

    • DamageModifierStatusEffect

      protected DamageModifierStatusEffect(StatusEffectCategory category, int color, double modifier)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbbb;<init>(Lbbf;ID)V
      intermediary <init> Lnet/minecraft/class_1287;<init>(Lnet/minecraft/class_4081;ID)V
      named <init> Lnet/minecraft/entity/effect/DamageModifierStatusEffect;<init>(Lnet/minecraft/entity/effect/StatusEffectCategory;ID)V
  • Method Details

    • adjustModifierAmount

      public double adjustModifierAmount(int amplifier, EntityAttributeModifier modifier)
      Overrides:
      adjustModifierAmount in class StatusEffect
      Mappings:
      Namespace Name Mixin selector
      official a Lbbe;a(ILbdb;)D
      intermediary method_5563 Lnet/minecraft/class_1291;method_5563(ILnet/minecraft/class_1322;)D
      named adjustModifierAmount Lnet/minecraft/entity/effect/StatusEffect;adjustModifierAmount(ILnet/minecraft/entity/attribute/EntityAttributeModifier;)D