Class BasicPotionEffect
java.lang.Object
net.minecraft.world.effect.MobEffect
tech.anonymoushacker1279.immersiveweapons.potion.BasicPotionEffect
- All Implemented Interfaces:
net.minecraftforge.common.extensions.IForgeMobEffect
public class BasicPotionEffect
extends net.minecraft.world.effect.MobEffect
-
Constructor Summary
ConstructorsConstructorDescriptionBasicPotionEffect(net.minecraft.world.effect.MobEffectCategory typeIn, int liquidColorIn) Constructor for BasicPotionEffect. -
Method Summary
Methods inherited from class net.minecraft.world.effect.MobEffect
addAttributeModifier, addAttributeModifiers, applyEffectTick, applyInstantenousEffect, byId, createFactorData, getAttributeModifiers, getAttributeModifierValue, getCategory, getColor, getDescriptionId, getDisplayName, getEffectRendererInternal, getId, getIdFromNullable, getOrCreateDescriptionId, initializeClient, isBeneficial, isDurationEffectTick, isInstantenous, removeAttributeModifiers, setFactorDataFactoryMethods 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
-
BasicPotionEffect
public BasicPotionEffect(net.minecraft.world.effect.MobEffectCategory typeIn, int liquidColorIn) Constructor for BasicPotionEffect.- Parameters:
typeIn- theMobEffectCategoryinstanceliquidColorIn- the liquid color
-