Package net.minecraft.entity.effect
Class InstantHealthOrDamageStatusEffect
java.lang.Object
net.minecraft.entity.effect.StatusEffect
net.minecraft.entity.effect.InstantStatusEffect
net.minecraft.entity.effect.InstantHealthOrDamageStatusEffect
- Mappings:
Namespace Name official bhy
intermediary net/minecraft/class_8632
named net/minecraft/entity/effect/InstantHealthOrDamageStatusEffect
-
Field Summary
-
Constructor Summary
ConstructorDescriptionInstantHealthOrDamageStatusEffect
(StatusEffectCategory category, int color, boolean damage) -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyInstantEffect
(@Nullable Entity source, @Nullable Entity attacker, LivingEntity target, int amplifier, double proximity) void
applyUpdateEffect
(LivingEntity entity, int amplifier) Methods inherited from class net.minecraft.entity.effect.InstantStatusEffect
canApplyUpdateEffect, isInstant
Methods inherited from class net.minecraft.entity.effect.StatusEffect
addAttributeModifier, getAttributeModifiers, getCategory, getColor, getFactorCalculationDataSupplier, getName, getRegistryEntry, getTranslationKey, isBeneficial, loadTranslationKey, onApplied, onApplied, onRemoved, setFactorCalculationDataSupplier
-
Field Details
-
damage
private final boolean damage- Mappings:
Namespace Name Mixin selector official a
Lbhy;a:Z
intermediary field_45103
Lnet/minecraft/class_8632;field_45103:Z
named damage
Lnet/minecraft/entity/effect/InstantHealthOrDamageStatusEffect;damage:Z
-
-
Constructor Details
-
InstantHealthOrDamageStatusEffect
- Mappings:
Namespace Name Mixin selector official <init>
Lbhy;<init>(Lbic;IZ)V
intermediary <init>
Lnet/minecraft/class_8632;<init>(Lnet/minecraft/class_4081;IZ)V
named <init>
Lnet/minecraft/entity/effect/InstantHealthOrDamageStatusEffect;<init>(Lnet/minecraft/entity/effect/StatusEffectCategory;IZ)V
-
-
Method Details
-
applyUpdateEffect
- Overrides:
applyUpdateEffect
in classStatusEffect
- Mappings:
Namespace Name Mixin selector official a
Lbib;a(Lbjg;I)V
intermediary method_5572
Lnet/minecraft/class_1291;method_5572(Lnet/minecraft/class_1309;I)V
named applyUpdateEffect
Lnet/minecraft/entity/effect/StatusEffect;applyUpdateEffect(Lnet/minecraft/entity/LivingEntity;I)V
-
applyInstantEffect
public void applyInstantEffect(@Nullable @Nullable Entity source, @Nullable @Nullable Entity attacker, LivingEntity target, int amplifier, double proximity) - Overrides:
applyInstantEffect
in classStatusEffect
- Mappings:
Namespace Name Mixin selector official a
Lbib;a(Lbiq;Lbiq;Lbjg;ID)V
intermediary method_5564
Lnet/minecraft/class_1291;method_5564(Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;Lnet/minecraft/class_1309;ID)V
named applyInstantEffect
Lnet/minecraft/entity/effect/StatusEffect;applyInstantEffect(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/LivingEntity;ID)V
-