Class CaffeineOverdoseEffect

java.lang.Object
net.minecraft.world.effect.MobEffect
ml.pluto7073.pdapi.entity.effect.CaffeineOverdoseEffect

public class CaffeineOverdoseEffect extends net.minecraft.world.effect.MobEffect
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    CaffeineOverdoseEffect(net.minecraft.world.effect.MobEffectCategory category, int color)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    applyEffectTick(net.minecraft.world.entity.LivingEntity entity, int amplifier)
     
    boolean
    isDurationEffectTick(int duration, int amplifier)
     

    Methods inherited from class net.minecraft.world.effect.MobEffect

    addAttributeModifier, addAttributeModifiers, applyInstantenousEffect, byId, createFactorData, getAttributeModifiers, getAttributeModifierValue, getCategory, getColor, getDescriptionId, getDisplayName, getId, getIdFromNullable, getOrCreateDescriptionId, isBeneficial, isInstantenous, removeAttributeModifiers, setFactorDataFactory

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CaffeineOverdoseEffect

      protected CaffeineOverdoseEffect(net.minecraft.world.effect.MobEffectCategory category, int color)
  • Method Details

    • applyEffectTick

      public void applyEffectTick(net.minecraft.world.entity.LivingEntity entity, int amplifier)
      Overrides:
      applyEffectTick in class net.minecraft.world.effect.MobEffect
    • isDurationEffectTick

      public boolean isDurationEffectTick(int duration, int amplifier)
      Overrides:
      isDurationEffectTick in class net.minecraft.world.effect.MobEffect