Package net.minecraft
Class class_9457
java.lang.Object
net.minecraft.entity.effect.StatusEffect
net.minecraft.class_9457
- All Implemented Interfaces:
ToggleableFeature
- Mappings:
Namespace Name named net/minecraft/class_9457
intermediary net/minecraft/class_9457
official brh
-
Field Summary
Fields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
class_9457
(StatusEffectCategory statusEffectCategory, int color, ParticleEffect particleEffect) -
Method Summary
Modifier and TypeMethodDescriptionboolean
applyUpdateEffect
(LivingEntity entity, int amplifier) boolean
canApplyUpdateEffect
(int duration, int amplifier) Methods inherited from class net.minecraft.entity.effect.StatusEffect
addAttributeModifier, applyInstantEffect, createParticle, fadeTicks, forEachAttributeModifier, getCategory, getColor, getFadeTicks, getName, getRequiredFeatures, getTranslationKey, isBeneficial, isInstant, loadTranslationKey, method_58614, method_58616, method_58617, method_58619, method_58620, onApplied, onApplied, onRemoved
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
Constructor Details
-
class_9457
protected class_9457(StatusEffectCategory statusEffectCategory, int color, ParticleEffect particleEffect) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/effect/StatusEffect;<init>(Lnet/minecraft/entity/effect/StatusEffectCategory;ILnet/minecraft/particle/ParticleEffect;)V
intermediary <init>
Lnet/minecraft/class_1291;<init>(Lnet/minecraft/class_4081;ILnet/minecraft/class_2394;)V
official <init>
Lbra;<init>(Lbrb;ILkw;)V
-
-
Method Details
-
canApplyUpdateEffect
public boolean canApplyUpdateEffect(int duration, int amplifier) - Overrides:
canApplyUpdateEffect
in classStatusEffect
- 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
Lbra;a(II)Z
-
applyUpdateEffect
- Overrides:
applyUpdateEffect
in classStatusEffect
- Mappings:
Namespace Name Mixin selector named applyUpdateEffect
Lnet/minecraft/entity/effect/StatusEffect;applyUpdateEffect(Lnet/minecraft/entity/LivingEntity;I)Z
intermediary method_5572
Lnet/minecraft/class_1291;method_5572(Lnet/minecraft/class_1309;I)Z
official a
Lbra;a(Lbso;I)Z
-