net.minecraft.world.item

public class PotionItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

cyi
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.ItemSkullPlayer

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(dbh 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(cxo arg0)
getName(ItemStack arg0)
method_7864(class_1799 arg0)
m_jmfyhzjb(C_sddaxwyk arg0)
getName(ItemStack arg0)
m_jmfyhzjb(ItemStack arg0)
m_7626_(C_1391_ arg0)
public void
a(cxo arg0, cxk$b arg1, List<xv> arg2, czg 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)