Class ExpandPotionContents
java.lang.Object
com.blamejared.crafttweaker.natives.item.component.ExpandPotionContents
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intgetColor(net.minecraft.world.item.alchemy.PotionContents internal) static List<net.minecraft.world.effect.MobEffectInstance> getCustomEffects(net.minecraft.world.item.alchemy.PotionContents internal) static booleanhasEffects(net.minecraft.world.item.alchemy.PotionContents internal) static net.minecraft.world.item.alchemy.PotionContentsof(net.minecraft.world.item.alchemy.Potion potion) static net.minecraft.world.item.alchemy.PotionContentsof(net.minecraft.world.item.alchemy.Potion potion, int customColour, List<net.minecraft.world.effect.MobEffectInstance> customEffects) static net.minecraft.world.item.alchemy.PotionContentswithEffectAdded(net.minecraft.world.item.alchemy.PotionContents internal, net.minecraft.world.effect.MobEffectInstance effectInstance)
-
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)
-