net.minecraft.world.item

public class PotionItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

cyj
net.minecraft.world.item.PotionItem
net.minecraft.class_1812
net.minecraft.item.PotionItem
net.minecraft.world.item.ItemPotion

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public ItemStack
n()
getDefaultInstance()
method_7854()
getDefaultStack()
public InteractionResult
a(dbi arg0)
useOn(UseOnContext arg0)
method_7884(class_1838 arg0)
useOnBlock(ItemUsageContext arg0)
public Component
a(cxp arg0)
getName(ItemStack arg0)
method_7864(class_1799 arg0)
getName(ItemStack arg0)
public void
a(cxp arg0, cxl$b arg1, List<xv> arg2, czh 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)
appendTooltip(ItemStack arg0, Item$TooltipContext arg1, List<Text> arg2, TooltipType arg3)