Package net.minecraft.entity.effect
Class InstantStatusEffect
java.lang.Object
net.minecraft.entity.effect.StatusEffect
net.minecraft.entity.effect.InstantStatusEffect
- Direct Known Subclasses:
InstantHealthOrDamageStatusEffect
,SaturationStatusEffect
- Mappings:
Namespace Name official blf
intermediary net/minecraft/class_1289
named net/minecraft/entity/effect/InstantStatusEffect
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canApplyUpdateEffect
(int duration, int amplifier) boolean
Methods inherited from class net.minecraft.entity.effect.StatusEffect
addAttributeModifier, applyInstantEffect, applyUpdateEffect, getAttributeModifiers, getCategory, getColor, getFactorCalculationDataSupplier, getName, getRegistryEntry, getTranslationKey, isBeneficial, loadTranslationKey, onApplied, onApplied, onRemoved, setFactorCalculationDataSupplier
-
Constructor Details
-
InstantStatusEffect
- Mappings:
Namespace Name Mixin selector official <init>
Lblg;<init>(Lblh;I)V
intermediary <init>
Lnet/minecraft/class_1291;<init>(Lnet/minecraft/class_4081;I)V
named <init>
Lnet/minecraft/entity/effect/StatusEffect;<init>(Lnet/minecraft/entity/effect/StatusEffectCategory;I)V
-
-
Method Details
-
isInstant
public boolean isInstant()- Overrides:
isInstant
in classStatusEffect
- Mappings:
Namespace Name Mixin selector official a
Lblg;a()Z
intermediary method_5561
Lnet/minecraft/class_1291;method_5561()Z
named isInstant
Lnet/minecraft/entity/effect/StatusEffect;isInstant()Z
-
canApplyUpdateEffect
public boolean canApplyUpdateEffect(int duration, int amplifier) - Overrides:
canApplyUpdateEffect
in classStatusEffect
- Mappings:
Namespace Name Mixin selector official a
Lblg;a(II)Z
intermediary method_5552
Lnet/minecraft/class_1291;method_5552(II)Z
named canApplyUpdateEffect
Lnet/minecraft/entity/effect/StatusEffect;canApplyUpdateEffect(II)Z
-