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

    Constructors
    Constructor
    Description
    BasicPotionEffect(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, shouldApplyEffectTickThisTick

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface net.neoforged.neoforge.common.extensions.IMobEffectExtension

    getCurativeItems, getSortOrder
  • Constructor Details

    • BasicPotionEffect

      public BasicPotionEffect(net.minecraft.world.effect.MobEffectCategory typeIn, int liquidColorIn)
      Constructor for BasicPotionEffect.
      Parameters:
      typeIn - the MobEffectCategory instance
      liquidColorIn - the liquid color