Class DamageModifierStatusEffect

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

public class DamageModifierStatusEffect extends StatusEffect
Mappings:
Namespace Name
official asu
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 Lasu;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(StatusEffectType type, int color, double modifier)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lasu;<init>(Lasy;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/StatusEffectType;ID)V
  • Method Details

    • adjustModifierAmount

      public double adjustModifierAmount(int amplifier, EntityAttributeModifier modifier)
      Overrides:
      adjustModifierAmount in class StatusEffect
      Mappings:
      Namespace Name Mixin selector
      official a Lasx;a(ILaus;)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