net.minecraft.world.item

public class PotionItem

extends Item

All mapped superinterfaces:

ItemLike

bev
net.minecraft.world.item.PotionItem
net.minecraft.class_1812
net.minecraft.item.PotionItem
net.minecraft.item.PotionItem
net.minecraft.server.v1_15_R1.ItemPotion

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public ItemStack
a(bek arg0, bjt arg1, akw 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
f_(bek arg0)
getUseDuration(ItemStack arg0)
method_7881(class_1799 arg0)
getMaxUseTime(ItemStack arg0)
func_77626_a(ItemStack arg0)
public UseAnim
e_(bek arg0)
getUseAnimation(ItemStack arg0)
method_7853(class_1799 arg0)
getUseAction(ItemStack arg0)
func_77661_b(ItemStack arg0)
public InteractionResultHolder<ItemStack>
a(bjt arg0, ayg arg1, ajh 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(bek arg0)
getDescriptionId(ItemStack arg0)
method_7866(class_1799 arg0)
getTranslationKey(ItemStack arg0)
func_77667_c(ItemStack arg0)
public boolean
d_(bek arg0)
isFoil(ItemStack arg0)
method_7886(class_1799 arg0)
hasEnchantmentGlint(ItemStack arg0)
func_77636_d(ItemStack arg0)
public void
a(bda arg0, fy<bek> 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 ItemStack
s()
getDefaultInstance()
method_7854()
getStackForRender()
func_190903_i()
public void
a(bek arg0, bjt arg1, List<lf> arg2, bft 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)