net.minecraft.world.item

public class PotionItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

cvi
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

Field summary

Modifier and TypeField
private static final int
a
DRINK_DURATION
field_30917
f_ahogrvrd
MAX_USE_TIME
MAX_USE_TIME
f_151180_

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public ItemStack
w()
getDefaultInstance()
method_7854()
m_lthgnjiq()
getDefaultStack()
getDefaultStack()
m_7968_()
public ItemStack
a(cur arg0, dca arg1, btr arg2)
finishUsingItem(ItemStack arg0, Level arg1, LivingEntity arg2)
method_7861(class_1799 arg0, class_1937 arg1, class_1309 arg2)
m_knbnsgbn(C_sddaxwyk arg0, C_cdctfzbn arg1, C_usxaxydn arg2)
finishUsing(ItemStack arg0, World arg1, LivingEntity arg2)
finishUsing(ItemStack arg0, World arg1, LivingEntity arg2)
m_5922_(C_1391_ p_42985_, C_1596_ p_42986_, C_524_ arg2)
public InteractionResult
a(cye 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 int
b(cur arg0)
getUseDuration(ItemStack arg0)
method_7881(class_1799 arg0)
m_hwznhtnf(C_sddaxwyk arg0)
getMaxUseTime(ItemStack arg0)
getMaxUseTime(ItemStack arg0)
m_8105_(C_1391_ arg0)
public UseAnim
c(cur arg0)
getUseAnimation(ItemStack arg0)
method_7853(class_1799 arg0)
m_yvddkccr(C_sddaxwyk arg0)
getUseAction(ItemStack arg0)
getUseAction(ItemStack arg0)
m_6164_(C_1391_ arg0)
public InteractionResultHolder<ItemStack>
a(dca arg0, cmz arg1, bqv arg2)
use(Level arg0, Player arg1, InteractionHand arg2)
method_7836(class_1937 arg0, class_1657 arg1, class_1268 arg2)
m_znsmbimv(C_cdctfzbn arg0, C_jzrpycqo arg1, C_laxmzoqs arg2)
use(World arg0, PlayerEntity arg1, Hand arg2)
use(World arg0, PlayerEntity arg1, Hand arg2)
m_7203_(C_1596_ p_42994_, C_1141_ p_42995_, C_470_ arg2)
public String
i(cur arg0)
getDescriptionId(ItemStack arg0)
method_7866(class_1799 arg0)
m_qibylykw(C_sddaxwyk arg0)
getTranslationKey(ItemStack arg0)
getTranslationKey(ItemStack arg0)
m_5671_(C_1391_ arg0)
public void
a(cur arg0, cum$b arg1, List<xp> arg2, cwk 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)