Class AilmentEffect

java.lang.Object
net.minecraft.world.effect.MobEffect
nokunami.floral_warfare.common.effect.AilmentEffect
All Implemented Interfaces:
net.minecraftforge.common.extensions.IForgeMobEffect

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    applyEffectTick(net.minecraft.world.entity.LivingEntity entity, int amp)
     
    List<net.minecraft.world.item.ItemStack>
     
    boolean
    isDurationEffectTick(int duration, int amp)
     

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

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

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface net.minecraftforge.common.extensions.IForgeMobEffect

    getSortOrder
  • Constructor Details

    • AilmentEffect

      public AilmentEffect()
  • Method Details

    • applyEffectTick

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

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

      public List<net.minecraft.world.item.ItemStack> getCurativeItems()