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_CODEC

    Fields inherited from interface net.minecraft.world.flag.FeatureElement

    FILTERED_REGISTRIES
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    applyEffectTick(net.minecraft.world.entity.LivingEntity livingEntity, int t)
     
    void
    applyInstantenousEffect(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, shouldApplyEffectTickThisTick

    Methods 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, withSoundOnAdded

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      applyInstantenousEffect in class net.minecraft.world.effect.MobEffect
    • applyEffectTick

      public boolean applyEffectTick(net.minecraft.world.entity.LivingEntity livingEntity, int t)
      Overrides:
      applyEffectTick in class net.minecraft.world.effect.MobEffect