Class AbsolutionMobEffect
java.lang.Object
net.minecraft.world.effect.MobEffect
net.minecraft.world.effect.InstantenousMobEffect
vazkii.botania.common.brew.effect.AbsolutionMobEffect
- All Implemented Interfaces:
net.minecraft.world.flag.FeatureElement
public class AbsolutionMobEffect
extends net.minecraft.world.effect.InstantenousMobEffect
-
Field Summary
Fields inherited from class net.minecraft.world.effect.MobEffect
CODEC, STREAM_CODECFields inherited from interface net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanapplyEffectTick(net.minecraft.world.entity.LivingEntity livingEntity, int t) voidapplyInstantenousEffect(net.minecraft.world.entity.Entity e, net.minecraft.world.entity.Entity e1, @NotNull net.minecraft.world.entity.LivingEntity e2, int t, double d) Methods inherited from class net.minecraft.world.effect.InstantenousMobEffect
isInstantenous, shouldApplyEffectTickThisTickMethods inherited from class net.minecraft.world.effect.MobEffect
addAttributeModifier, addAttributeModifiers, createModifiers, createParticleOptions, getBlendDurationTicks, getCategory, getColor, getDescriptionId, getDisplayName, getOrCreateDescriptionId, isBeneficial, onEffectAdded, onEffectStarted, onMobHurt, onMobRemoved, removeAttributeModifiers, requiredFeatures, requiredFeatures, setBlendDuration, withSoundOnAddedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.flag.FeatureElement
isEnabled
-
Constructor Details
-
AbsolutionMobEffect
public AbsolutionMobEffect()
-
-
Method Details
-
applyInstantenousEffect
public void applyInstantenousEffect(net.minecraft.world.entity.Entity e, net.minecraft.world.entity.Entity e1, @NotNull @NotNull net.minecraft.world.entity.LivingEntity e2, int t, double d) - Overrides:
applyInstantenousEffectin classnet.minecraft.world.effect.MobEffect
-
applyEffectTick
public boolean applyEffectTick(net.minecraft.world.entity.LivingEntity livingEntity, int t) - Overrides:
applyEffectTickin classnet.minecraft.world.effect.MobEffect
-