Package com.pixelmonmod.pixelmon.comm
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
ConstructorsConstructorDescriptionPixelmonPotionEffect(net.minecraft.world.effect.MobEffectCategory type, net.minecraft.world.item.DyeColor color) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.effect.MobEffectInstancegetEffect(int seconds) booleanMethods 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, shouldApplyEffectTickThisTickMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
isBeneficialin classnet.minecraft.world.effect.MobEffect
-