net.minecraft.world.item

public class PotionItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

cxk
net.minecraft.world.item.PotionItem
net.minecraft.class_1812
net.minecraft.unmapped.C_jgyanlws
net.minecraft.item.PotionItem
net.minecraft.item.PotionItem
net.minecraft.src.C_1405_
net.minecraft.world.item.ItemPotion

Constructor summary

ModifierConstructor
public (Item$Properties settings)

Method summary

Modifier and TypeMethod
public ItemStack
n()
getDefaultInstance()
method_7854()
m_lthgnjiq()
getDefaultStack()
getDefaultStack()
m_7968_()
public InteractionResult
a(daj arg0)
useOn(UseOnContext arg0)
method_7884(class_1838 arg0)
m_mtceqnlj(C_yyklzime arg0)
useOnBlock(ItemUsageContext arg0)
useOnBlock(ItemUsageContext arg0)
m_6225_(C_1450_ arg0)
public Component
a(cwq arg0)
getName(ItemStack arg0)
method_7864(class_1799 arg0)
m_jmfyhzjb(C_sddaxwyk arg0)
getName(ItemStack arg0)
getName(ItemStack arg0)
m_7626_(C_1391_ arg0)
public void
a(cwq arg0, cwm$b arg1, List<wp> arg2, cyi arg3)
appendHoverText(ItemStack arg0, Item$TooltipContext arg1, List<Component> arg2, TooltipFlag arg3)
method_7851(class_1799 arg0, class_1792$class_9635 arg1, List<class_2561> arg2, class_1836 arg3)
m_vlpdhsgt(C_sddaxwyk arg0, C_vorddnax$C_rdhfmrgz arg1, List<C_rdaqiwdt> arg2, C_taebrtdw arg3)
appendTooltip(ItemStack arg0, Item$TooltipContext arg1, List<Text> arg2, TooltipType arg3)
appendTooltip(ItemStack arg0, Item$TooltipContext arg1, List<Text> arg2, TooltipConfig arg3)
m_7373_(C_1391_ p_332780_, C_1381_$C_313602_ p_42990_, List<C_4996_> p_42991_, C_1431_ arg3)