Package net.minecraft.entity.effect
Class DamageModifierStatusEffect
java.lang.Object
net.minecraft.entity.effect.StatusEffect
net.minecraft.entity.effect.DamageModifierStatusEffect
- Mappings:
Namespace Name official bet
intermediary net/minecraft/class_1287
named net/minecraft/entity/effect/DamageModifierStatusEffect
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
DamageModifierStatusEffect
(StatusEffectCategory category, int color, double modifier) -
Method Summary
Modifier and TypeMethodDescriptiondouble
adjustModifierAmount
(int amplifier, EntityAttributeModifier modifier) Methods inherited from class net.minecraft.entity.effect.StatusEffect
addAttributeModifier, applyInstantEffect, applyUpdateEffect, byRawId, canApplyUpdateEffect, getAttributeModifiers, getCategory, getColor, getFactorCalculationDataSupplier, getName, getRawId, getRawIdNullable, getTranslationKey, isBeneficial, isInstant, loadTranslationKey, onApplied, onRemoved, setFactorCalculationDataSupplier
-
Field Details
-
modifier
protected final double modifier- Mappings:
Namespace Name Mixin selector official a
Lbet;a:D
intermediary field_5881
Lnet/minecraft/class_1287;field_5881:D
named modifier
Lnet/minecraft/entity/effect/DamageModifierStatusEffect;modifier:D
-
-
Constructor Details
-
DamageModifierStatusEffect
- Mappings:
Namespace Name Mixin selector official <init>
Lbet;<init>(Lbex;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
- Overrides:
adjustModifierAmount
in classStatusEffect
- Mappings:
Namespace Name Mixin selector official a
Lbew;a(ILbhc;)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
-