Class PixelmonPotionEffect

java.lang.Object
net.minecraft.world.effect.MobEffect
com.pixelmonmod.pixelmon.comm.PixelmonPotionEffect
All Implemented Interfaces:
net.minecraftforge.common.extensions.IForgeMobEffect

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

    Constructors
    Constructor
    Description
    PixelmonPotionEffect(net.minecraft.world.effect.MobEffectCategory type, net.minecraft.world.item.DyeColor color)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.effect.MobEffectInstance
    getEffect(int seconds)
     
    boolean
     

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

    addAttributeModifier, addAttributeModifiers, applyEffectTick, applyInstantenousEffect, builtInRegistryHolder, createFactorData, getAttributeModifiers, getCategory, getColor, getDescriptionId, getDisplayName, getEffectRendererInternal, getOrCreateDescriptionId, initializeClient, isInstantenous, onEffectStarted, removeAttributeModifiers, setFactorDataFactory, shouldApplyEffectTickThisTick

    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

    getCurativeItems, getSortOrder
  • Constructor Details

    • PixelmonPotionEffect

      public PixelmonPotionEffect(net.minecraft.world.effect.MobEffectCategory type, net.minecraft.world.item.DyeColor color)
  • Method Details

    • getEffect

      public net.minecraft.world.effect.MobEffectInstance getEffect(int seconds)
    • isBeneficial

      public boolean isBeneficial()
      Overrides:
      isBeneficial in class net.minecraft.world.effect.MobEffect