net.minecraft.world.item.alchemy

public class PotionUtils

cfr
net.minecraft.world.item.alchemy.PotionUtils
net.minecraft.class_1844
net.minecraft.potion.PotionUtil
net.minecraft.src.C_1443_
net.minecraft.world.item.alchemy.PotionUtil

Field summary

Modifier and TypeField
public static final String
a
TAG_CUSTOM_POTION_EFFECTS
field_30943
CUSTOM_POTION_EFFECTS_KEY
f_151254_
public static final String
b
TAG_CUSTOM_POTION_COLOR
field_30944
CUSTOM_POTION_COLOR_KEY
f_151255_
public static final String
c
TAG_POTION
field_30945
POTION_KEY
f_151256_
private static final int
d
EMPTY_COLOR
field_30946
DEFAULT_COLOR
f_151257_
private static final Component
e
NO_EFFECT
field_25817
NONE_TEXT
f_43545_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static List<MobEffectInstance>
a(cdt arg0)
getMobEffects(ItemStack arg0)
method_8067(class_1799 arg0)
getPotionEffects(ItemStack stack)
m_43547_(C_1391_ p_43548_)
public static List<MobEffectInstance>
a(cfp arg0, Collection<bdk> arg1)
getAllEffects(Potion arg0, Collection<MobEffectInstance> arg1)
method_8059(class_1842 arg0, Collection<class_1293> arg1)
getPotionEffects(Potion potion, Collection<StatusEffectInstance> custom)
m_43561_(C_1440_ p_43562_, Collection<C_498_> p_43563_)
public static List<MobEffectInstance>
a(qp arg0)
getAllEffects(CompoundTag arg0)
method_8066(class_2487 arg0)
getPotionEffects(NbtCompound nbt)
m_43566_(C_4917_ p_43567_)
public static List<MobEffectInstance>
b(cdt arg0)
getCustomEffects(ItemStack arg0)
method_8068(class_1799 arg0)
getCustomPotionEffects(ItemStack stack)
m_43571_(C_1391_ p_43572_)
public static List<MobEffectInstance>
b(qp arg0)
getCustomEffects(CompoundTag arg0)
method_8060(class_2487 arg0)
getCustomPotionEffects(NbtCompound nbt)
m_43573_(C_4917_ p_43574_)
public static void
a(qp arg0, List<bdk> arg1)
getCustomEffects(CompoundTag arg0, List<MobEffectInstance> arg1)
method_8058(class_2487 arg0, List<class_1293> arg1)
getCustomPotionEffects(NbtCompound nbt, List<StatusEffectInstance> list)
m_43568_(C_4917_ p_43569_, List<C_498_> p_43570_)
public static int
c(cdt arg0)
getColor(ItemStack arg0)
method_8064(class_1799 arg0)
getColor(ItemStack stack)
m_43575_(C_1391_ p_43576_)
public static int
a(cfp arg0)
getColor(Potion arg0)
method_8062(class_1842 arg0)
getColor(Potion potion)
m_43559_(C_1440_ p_43560_)
public static int
a(Collection<bdk> arg0)
getColor(Collection<MobEffectInstance> arg0)
method_8055(Collection<class_1293> arg0)
getColor(Collection<StatusEffectInstance> effects)
m_43564_(Collection<C_498_> p_43565_)
public static Potion
d(cdt arg0)
getPotion(ItemStack arg0)
method_8063(class_1799 arg0)
getPotion(ItemStack stack)
m_43579_(C_1391_ p_43580_)
public static Potion
c(qp arg0)
getPotion(CompoundTag arg0)
method_8057(class_2487 arg0)
getPotion(NbtCompound compound)
m_43577_(C_4917_ p_43578_)
public static ItemStack
a(cdt arg0, cfp arg1)
setPotion(ItemStack arg0, Potion arg1)
method_8061(class_1799 arg0, class_1842 arg1)
setPotion(ItemStack stack, Potion potion)
m_43549_(C_1391_ p_43550_, C_1440_ p_43551_)
public static ItemStack
a(cdt arg0, Collection<bdk> arg1)
setCustomEffects(ItemStack arg0, Collection<MobEffectInstance> arg1)
method_8056(class_1799 arg0, Collection<class_1293> arg1)
setCustomPotionEffects(ItemStack stack, Collection<StatusEffectInstance> effects)
m_43552_(C_1391_ p_43553_, Collection<C_498_> p_43554_)
public static void
a(cdt arg0, List<ss> arg1, float arg2)
addPotionTooltip(ItemStack arg0, List<Component> arg1, float arg2)
method_47372(class_1799 arg0, List<class_2561> arg1, float arg2)
buildTooltip(ItemStack stack, List<Text> list, float durationMultiplier)
m_43555_(C_1391_ p_43556_, List<C_4996_> p_43557_, float p_43558_)
public static void
a(List<bdk> arg0, List<ss> arg1, float arg2)
addPotionTooltip(List<MobEffectInstance> arg0, List<Component> arg1, float arg2)
method_8065(List<class_1293> arg0, List<class_2561> arg1, float arg2)
buildTooltip(List<StatusEffectInstance> statusEffects, List<Text> list, float durationMultiplier)
m_257410_(List<C_498_> p_259687_, List<C_4996_> p_259660_, float p_259949_)