Package net.minecraft.entity.effect
Class PoisonStatusEffect
java.lang.Object
net.minecraft.entity.effect.StatusEffect
net.minecraft.entity.effect.PoisonStatusEffect
- All Implemented Interfaces:
ToggleableFeature
- Mappings:
Namespace Name named net/minecraft/entity/effect/PoisonStatusEffectintermediary net/minecraft/class_8635official bwm
-
Field Summary
FieldsFields inherited from class net.minecraft.entity.effect.StatusEffect
ENTRY_CODEC, ENTRY_PACKET_CODECFields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPoisonStatusEffect(StatusEffectCategory category, int color) -
Method Summary
Modifier and TypeMethodDescriptionbooleanapplyUpdateEffect(ServerWorld world, LivingEntity entity, int amplifier) booleancanApplyUpdateEffect(int duration, int amplifier) Methods inherited from class net.minecraft.entity.effect.StatusEffect
addAttributeModifier, applyInstantEffect, applySound, createParticle, fadeTicks, fadeTicks, forEachAttributeModifier, getCategory, getColor, getFadeInTicks, getFadeOutThresholdTicks, getFadeOutTicks, getName, getRequiredFeatures, getTranslationKey, isBeneficial, isInstant, loadTranslationKey, onApplied, onApplied, onEntityDamage, onEntityRemoval, onRemoved, playApplySound, requiresMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
Field Details
-
FLOWER_CONTACT_EFFECT_DURATION
public static final int FLOWER_CONTACT_EFFECT_DURATION- See Also:
- Mappings:
Namespace Name Mixin selector named FLOWER_CONTACT_EFFECT_DURATIONLnet/minecraft/entity/effect/PoisonStatusEffect;FLOWER_CONTACT_EFFECT_DURATION:Iintermediary field_55005Lnet/minecraft/class_8635;field_55005:Iofficial cLbwm;c:I
-
-
Constructor Details
-
PoisonStatusEffect
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/effect/StatusEffect;<init>(Lnet/minecraft/entity/effect/StatusEffectCategory;I)Vintermediary <init>Lnet/minecraft/class_1291;<init>(Lnet/minecraft/class_4081;I)Vofficial <init>Lbwg;<init>(Lbwh;I)V
-
-
Method Details
-
applyUpdateEffect
- Overrides:
applyUpdateEffectin classStatusEffect- Mappings:
Namespace Name Mixin selector named applyUpdateEffectLnet/minecraft/entity/effect/StatusEffect;applyUpdateEffect(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;I)Zintermediary method_5572Lnet/minecraft/class_1291;method_5572(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;I)Zofficial aLbwg;a(Lasb;Lbyf;I)Z
-
canApplyUpdateEffect
public boolean canApplyUpdateEffect(int duration, int amplifier) - Overrides:
canApplyUpdateEffectin classStatusEffect- Mappings:
Namespace Name Mixin selector named canApplyUpdateEffectLnet/minecraft/entity/effect/StatusEffect;canApplyUpdateEffect(II)Zintermediary method_5552Lnet/minecraft/class_1291;method_5552(II)Zofficial aLbwg;a(II)Z
-