Class BasicPotionEffect
java.lang.Object
net.minecraft.world.effect.MobEffect
tech.anonymoushacker1279.immersiveweapons.potion.BasicPotionEffect
- All Implemented Interfaces:
net.neoforged.neoforge.common.extensions.IMobEffectExtension
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, builtInRegistryHolder, createFactorData, getAttributeModifiers, getCategory, getColor, getDescriptionId, getDisplayName, getEffectRendererInternal, getOrCreateDescriptionId, initializeClient, isBeneficial, 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.neoforged.neoforge.common.extensions.IMobEffectExtension
fillEffectCures, getSortOrder
-
Constructor Details
-
BasicPotionEffect
public BasicPotionEffect(net.minecraft.world.effect.MobEffectCategory typeIn, int liquidColorIn) Constructor for BasicPotionEffect.- Parameters:
typeIn- theMobEffectCategoryinstanceliquidColorIn- the liquid color
-