Package net.minecraft.entity.effect
Class InstantStatusEffect
java.lang.Object
net.minecraft.entity.effect.StatusEffect
net.minecraft.entity.effect.InstantStatusEffect
- All Implemented Interfaces:
- ToggleableFeature
- Direct Known Subclasses:
- InstantHealthOrDamageStatusEffect,- SaturationStatusEffect
- Mappings:
- Namespace - Name - named - net/minecraft/entity/effect/InstantStatusEffect- intermediary - net/minecraft/class_1289- official - bto
- 
Field SummaryFields inherited from class net.minecraft.entity.effect.StatusEffectENTRY_CODEC, ENTRY_PACKET_CODECFields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeatureFEATURE_ENABLED_REGISTRY_KEYS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleancanApplyUpdateEffect(int duration, int amplifier) booleanMethods inherited from class net.minecraft.entity.effect.StatusEffectaddAttributeModifier, applyInstantEffect, applySound, applyUpdateEffect, createParticle, fadeTicks, forEachAttributeModifier, getCategory, getColor, getFadeTicks, getName, getRequiredFeatures, getTranslationKey, isBeneficial, loadTranslationKey, onApplied, onApplied, onEntityDamage, onEntityRemoval, onRemoved, playApplySound, requiresMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeatureisEnabled
- 
Constructor Details- 
InstantStatusEffect- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/entity/effect/StatusEffect;<init>(Lnet/minecraft/entity/effect/StatusEffectCategory;I)V- intermediary - <init>- Lnet/minecraft/class_1291;<init>(Lnet/minecraft/class_4081;I)V- official - <init>- Lbtp;<init>(Lbtq;I)V
 
 
- 
- 
Method Details- 
isInstantpublic boolean isInstant()- Overrides:
- isInstantin class- StatusEffect
- Mappings:
- Namespace - Name - Mixin selector - named - isInstant- Lnet/minecraft/entity/effect/StatusEffect;isInstant()Z- intermediary - method_5561- Lnet/minecraft/class_1291;method_5561()Z- official - a- Lbtp;a()Z
 
- 
canApplyUpdateEffectpublic boolean canApplyUpdateEffect(int duration, int amplifier) - Overrides:
- canApplyUpdateEffectin class- StatusEffect
- Mappings:
- Namespace - Name - Mixin selector - named - canApplyUpdateEffect- Lnet/minecraft/entity/effect/StatusEffect;canApplyUpdateEffect(II)Z- intermediary - method_5552- Lnet/minecraft/class_1291;method_5552(II)Z- official - a- Lbtp;a(II)Z
 
 
-