net.minecraft.world.item

public class PotionItem

extends Item

All mapped superinterfaces:

ItemLike

bmk
net.minecraft.world.item.PotionItem
net.minecraft.class_1812
net.minecraft.item.PotionItem
net.minecraft.item.PotionItem
net.minecraft.server.v1_16_R2.ItemPotion

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public ItemStack
r()
getDefaultInstance()
method_7854()
getDefaultStack()
func_190903_i()
createItemStack()
public ItemStack
a(bly arg0, bru arg1, aqj arg2)
finishUsingItem(ItemStack arg0, Level arg1, LivingEntity arg2)
method_7861(class_1799 arg0, class_1937 arg1, class_1309 arg2)
finishUsing(ItemStack arg0, World arg1, LivingEntity arg2)
func_77654_b(ItemStack arg0, World arg1, LivingEntity arg2)
public int
e_(bly arg0)
getUseDuration(ItemStack arg0)
method_7881(class_1799 arg0)
getMaxUseTime(ItemStack arg0)
func_77626_a(ItemStack arg0)
public UseAnim
d_(bly arg0)
getUseAnimation(ItemStack arg0)
method_7853(class_1799 arg0)
getUseAction(ItemStack arg0)
func_77661_b(ItemStack arg0)
public InteractionResultHolder<ItemStack>
a(bru arg0, bft arg1, aoq arg2)
use(Level arg0, Player arg1, InteractionHand arg2)
method_7836(class_1937 arg0, class_1657 arg1, class_1268 arg2)
use(World arg0, PlayerEntity arg1, Hand arg2)
func_77659_a(World arg0, PlayerEntity arg1, Hand arg2)
public String
f(bly arg0)
getDescriptionId(ItemStack arg0)
method_7866(class_1799 arg0)
getTranslationKey(ItemStack arg0)
func_77667_c(ItemStack arg0)
public boolean
e(bly arg0)
isFoil(ItemStack arg0)
method_7886(class_1799 arg0)
hasGlint(ItemStack arg0)
func_77636_d(ItemStack arg0)
public void
a(bkp arg0, gj<bly> arg1)
fillItemCategory(CreativeModeTab arg0, NonNullList<ItemStack> arg1)
method_7850(class_1761 arg0, class_2371<class_1799> arg1)
appendStacks(ItemGroup arg0, DefaultedList<ItemStack> arg1)
func_150895_a(ItemGroup arg0, NonNullList<ItemStack> arg1)
public void
a(bly arg0, bru arg1, List<nr> arg2, bni arg3)
appendHoverText(ItemStack arg0, Level arg1, List<Component> arg2, TooltipFlag arg3)
method_7851(class_1799 arg0, class_1937 arg1, List<class_2561> arg2, class_1836 arg3)
appendTooltip(ItemStack arg0, World arg1, List<Text> arg2, TooltipContext arg3)
func_77624_a(ItemStack arg0, World arg1, List<ITextComponent> arg2, ITooltipFlag arg3)