net.minecraft.world.item

public class PotionItem

extends Item

All mapped superinterfaces:

ItemLike

bcu
net.minecraft.world.item.PotionItem
net.minecraft.class_1812
net.minecraft.item.PotionItem
net.minecraft.item.PotionItem
net.minecraft.server.v1_14_R1.ItemPotion

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public ItemStack
a(bcj arg0, bhr arg1, aix 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_(bcj arg0)
getUseDuration(ItemStack arg0)
method_7881(class_1799 arg0)
getMaxUseTime(ItemStack arg0)
func_77626_a(ItemStack arg0)
public UseAnim
e_(bcj arg0)
getUseAnimation(ItemStack arg0)
method_7853(class_1799 arg0)
getUseAction(ItemStack arg0)
func_77661_b(ItemStack arg0)
public InteractionResultHolder<ItemStack>
a(bhr arg0, awg arg1, ahi 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(bcj arg0)
getDescriptionId(ItemStack arg0)
method_7866(class_1799 arg0)
getTranslationKey(ItemStack arg0)
func_77667_c(ItemStack arg0)
public void
a(bba arg0, fk<bcj> 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
q()
getDefaultInstance()
method_7854()
getStackForRender()
func_190903_i()
public void
a(bcj arg0, bhr arg1, List<jo> arg2, bdr 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)
public boolean
d_(bcj arg0)
isFoil(ItemStack arg0)
method_7886(class_1799 arg0)
hasEnchantmentGlint(ItemStack arg0)
func_77636_d(ItemStack arg0)