net.minecraft.world.item.alchemy

public class PotionUtils

bns
net.minecraft.world.item.alchemy.PotionUtils
net.minecraft.class_1844
net.minecraft.potion.PotionUtil
net.minecraft.potion.PotionUtils
net.minecraft.server.v1_16_R2.PotionUtil

Field summary

Modifier and TypeField
private static final MutableComponent
a
NO_EFFECT
field_25817
field_25817
field_242400_a

Method summary

Modifier and TypeMethod
public static List<MobEffectInstance>
a(bly arg0)
getMobEffects(ItemStack arg0)
method_8067(class_1799 arg0)
getPotionEffects(ItemStack stack)
func_185189_a(ItemStack arg0)
getEffects(ItemStack arg0)
public static List<MobEffectInstance>
a(bnq arg0, Collection<apr> arg1)
getAllEffects(Potion arg0, Collection<MobEffectInstance> arg1)
method_8059(class_1842 arg0, Collection<class_1293> arg1)
getPotionEffects(Potion potion, Collection<StatusEffectInstance> custom)
func_185186_a(Potion arg0, Collection<EffectInstance> arg1)
public static List<MobEffectInstance>
a(md arg0)
getAllEffects(CompoundTag arg0)
method_8066(class_2487 arg0)
getPotionEffects(CompoundTag tag)
func_185185_a(CompoundNBT arg0)
public static List<MobEffectInstance>
b(bly arg0)
getCustomEffects(ItemStack arg0)
method_8068(class_1799 arg0)
getCustomPotionEffects(ItemStack stack)
func_185190_b(ItemStack arg0)
public static List<MobEffectInstance>
b(md arg0)
getCustomEffects(CompoundTag arg0)
method_8060(class_2487 arg0)
getCustomPotionEffects(CompoundTag tag)
func_185192_b(CompoundNBT arg0)
public static void
a(md arg0, List<apr> arg1)
getCustomEffects(CompoundTag arg0, List<MobEffectInstance> arg1)
method_8058(class_2487 arg0, List<class_1293> arg1)
getCustomPotionEffects(CompoundTag tag, List<StatusEffectInstance> list)
func_185193_a(CompoundNBT arg0, List<EffectInstance> arg1)
public static int
c(bly arg0)
getColor(ItemStack arg0)
method_8064(class_1799 arg0)
getColor(ItemStack stack)
func_190932_c(ItemStack arg0)
public static int
a(bnq arg0)
getColor(Potion arg0)
method_8062(class_1842 arg0)
getColor(Potion potion)
func_185183_a(Potion arg0)
public static int
a(Collection<apr> arg0)
getColor(Collection<MobEffectInstance> arg0)
method_8055(Collection<class_1293> arg0)
getColor(Collection<StatusEffectInstance> effects)
func_185181_a(Collection<EffectInstance> arg0)
public static Potion
d(bly arg0)
getPotion(ItemStack arg0)
method_8063(class_1799 arg0)
getPotion(ItemStack stack)
func_185191_c(ItemStack arg0)
public static Potion
c(md arg0)
getPotion(CompoundTag arg0)
method_8057(class_2487 arg0)
getPotion(CompoundTag compound)
func_185187_c(CompoundNBT arg0)
public static ItemStack
a(bly arg0, bnq arg1)
setPotion(ItemStack arg0, Potion arg1)
method_8061(class_1799 arg0, class_1842 arg1)
setPotion(ItemStack stack, Potion potion)
func_185188_a(ItemStack arg0, Potion arg1)
public static ItemStack
a(bly arg0, Collection<apr> arg1)
setCustomEffects(ItemStack arg0, Collection<MobEffectInstance> arg1)
method_8056(class_1799 arg0, Collection<class_1293> arg1)
setCustomPotionEffects(ItemStack stack, Collection<StatusEffectInstance> effects)
func_185184_a(ItemStack arg0, Collection<EffectInstance> arg1)
public static void
a(bly arg0, List<nr> arg1, float arg2)
addPotionTooltip(ItemStack arg0, List<Component> arg1, float arg2)
method_8065(class_1799 arg0, List<class_2561> arg1, float arg2)
buildTooltip(ItemStack stack, List<Text> list, float arg2)
func_185182_a(ItemStack arg0, List<ITextComponent> arg1, float arg2)