net.minecraft.world.item.alchemy

public class PotionUtils

bsm
net.minecraft.world.item.alchemy.PotionUtils
net.minecraft.class_1844
net.minecraft.unmapped.C_lyeejpyw
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
f_nhxhukqw
CUSTOM_POTION_EFFECTS_KEY
f_151254_
public static final String
b
TAG_CUSTOM_POTION_COLOR
field_30944
f_gmfuycvz
CUSTOM_POTION_COLOR_KEY
f_151255_
public static final String
c
TAG_POTION
field_30945
f_xegyypfv
POTION_KEY
f_151256_
private static final int
d
EMPTY_COLOR
field_30946
f_dgztfhuw
DEFAULT_COLOR
f_151257_
private static final Component
e
NO_EFFECT
field_25817
f_ztviptib
NONE_TEXT
f_43545_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static List<MobEffectInstance>
a(bqp arg0)
getMobEffects(ItemStack arg0)
method_8067(class_1799 arg0)
m_moqtnegs(C_sddaxwyk arg0)
getPotionEffects(ItemStack stack)
m_43547_(C_1391_ p_43548_)
getEffects(ItemStack arg0)
public static List<MobEffectInstance>
a(bsk arg0, Collection<asz> arg1)
getAllEffects(Potion arg0, Collection<MobEffectInstance> arg1)
method_8059(class_1842 arg0, Collection<class_1293> arg1)
m_ltlfdxrd(C_almkolgw arg0, Collection<C_wpfizwve> arg1)
getPotionEffects(Potion potion, Collection<StatusEffectInstance> custom)
m_43561_(C_1440_ p_43562_, Collection<C_498_> p_43563_)
public static List<MobEffectInstance>
a(na arg0)
getAllEffects(CompoundTag arg0)
method_8066(class_2487 arg0)
m_gqtddnts(C_hhlwcnih arg0)
getPotionEffects(NbtCompound nbt)
m_43566_(C_4917_ p_43567_)
public static List<MobEffectInstance>
b(bqp arg0)
getCustomEffects(ItemStack arg0)
method_8068(class_1799 arg0)
m_rgsfpgwl(C_sddaxwyk arg0)
getCustomPotionEffects(ItemStack stack)
m_43571_(C_1391_ p_43572_)
public static List<MobEffectInstance>
b(na arg0)
getCustomEffects(CompoundTag arg0)
method_8060(class_2487 arg0)
m_kuwrwubg(C_hhlwcnih arg0)
getCustomPotionEffects(NbtCompound nbt)
m_43573_(C_4917_ p_43574_)
public static void
a(na arg0, List<asz> arg1)
getCustomEffects(CompoundTag arg0, List<MobEffectInstance> arg1)
method_8058(class_2487 arg0, List<class_1293> arg1)
m_iqllvmwp(C_hhlwcnih arg0, List<C_wpfizwve> arg1)
getCustomPotionEffects(NbtCompound nbt, List<StatusEffectInstance> list)
m_43568_(C_4917_ p_43569_, List<C_498_> p_43570_)
public static int
c(bqp arg0)
getColor(ItemStack arg0)
method_8064(class_1799 arg0)
m_dtettsff(C_sddaxwyk arg0)
getColor(ItemStack stack)
m_43575_(C_1391_ p_43576_)
public static int
a(bsk arg0)
getColor(Potion arg0)
method_8062(class_1842 arg0)
m_bkabbujb(C_almkolgw arg0)
getColor(Potion potion)
m_43559_(C_1440_ p_43560_)
public static int
a(Collection<asz> arg0)
getColor(Collection<MobEffectInstance> arg0)
method_8055(Collection<class_1293> arg0)
m_cxismorv(Collection<C_wpfizwve> arg0)
getColor(Collection<StatusEffectInstance> effects)
m_43564_(Collection<C_498_> p_43565_)
public static Potion
d(bqp arg0)
getPotion(ItemStack arg0)
method_8063(class_1799 arg0)
m_mbigtggv(C_sddaxwyk arg0)
getPotion(ItemStack stack)
m_43579_(C_1391_ p_43580_)
public static Potion
c(na arg0)
getPotion(CompoundTag arg0)
method_8057(class_2487 arg0)
m_wnyzietc(C_hhlwcnih arg0)
getPotion(NbtCompound compound)
m_43577_(C_4917_ p_43578_)
public static ItemStack
a(bqp arg0, bsk arg1)
setPotion(ItemStack arg0, Potion arg1)
method_8061(class_1799 arg0, class_1842 arg1)
m_iqqmkeff(C_sddaxwyk arg0, C_almkolgw arg1)
setPotion(ItemStack stack, Potion potion)
m_43549_(C_1391_ p_43550_, C_1440_ p_43551_)
public static ItemStack
a(bqp arg0, Collection<asz> arg1)
setCustomEffects(ItemStack arg0, Collection<MobEffectInstance> arg1)
method_8056(class_1799 arg0, Collection<class_1293> arg1)
m_ufqfxnrq(C_sddaxwyk arg0, Collection<C_wpfizwve> arg1)
setCustomPotionEffects(ItemStack stack, Collection<StatusEffectInstance> effects)
m_43552_(C_1391_ p_43553_, Collection<C_498_> p_43554_)
public static void
a(bqp arg0, List<os> arg1, float arg2)
addPotionTooltip(ItemStack arg0, List<Component> arg1, float arg2)
method_8065(class_1799 arg0, List<class_2561> arg1, float arg2)
m_huvavbuq(C_sddaxwyk arg0, List<C_rdaqiwdt> arg1, float arg2)
buildTooltip(ItemStack stack, List<Text> list, float arg2)
m_43555_(C_1391_ p_43556_, List<C_4996_> p_43557_, float p_43558_)