Class ExpandPotionContents

java.lang.Object
com.blamejared.crafttweaker.natives.item.component.ExpandPotionContents

@ZenRegister public class ExpandPotionContents extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static int
    getColor(net.minecraft.world.item.alchemy.PotionContents internal)
     
    static List<net.minecraft.world.effect.MobEffectInstance>
    getCustomEffects(net.minecraft.world.item.alchemy.PotionContents internal)
     
    static boolean
    hasEffects(net.minecraft.world.item.alchemy.PotionContents internal)
     
    static net.minecraft.world.item.alchemy.PotionContents
    of(net.minecraft.world.item.alchemy.Potion potion)
     
    static net.minecraft.world.item.alchemy.PotionContents
    of(net.minecraft.world.item.alchemy.Potion potion, int customColour, List<net.minecraft.world.effect.MobEffectInstance> customEffects)
     
    static net.minecraft.world.item.alchemy.PotionContents
    withEffectAdded(net.minecraft.world.item.alchemy.PotionContents internal, net.minecraft.world.effect.MobEffectInstance effectInstance)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExpandPotionContents

      public ExpandPotionContents()
  • Method Details

    • of

      public static net.minecraft.world.item.alchemy.PotionContents of(net.minecraft.world.item.alchemy.Potion potion, int customColour, List<net.minecraft.world.effect.MobEffectInstance> customEffects)
    • of

      public static net.minecraft.world.item.alchemy.PotionContents of(net.minecraft.world.item.alchemy.Potion potion)
    • getColor

      public static int getColor(net.minecraft.world.item.alchemy.PotionContents internal)
    • hasEffects

      public static boolean hasEffects(net.minecraft.world.item.alchemy.PotionContents internal)
    • getCustomEffects

      public static List<net.minecraft.world.effect.MobEffectInstance> getCustomEffects(net.minecraft.world.item.alchemy.PotionContents internal)
    • withEffectAdded

      public static net.minecraft.world.item.alchemy.PotionContents withEffectAdded(net.minecraft.world.item.alchemy.PotionContents internal, net.minecraft.world.effect.MobEffectInstance effectInstance)