net.minecraft.world.item

public class PotionItem

extends Item

All mapped superinterfaces:

ItemLike

bku
net.minecraft.world.item.PotionItem
net.minecraft.class_1812
net.minecraft.item.PotionItem
net.minecraft.item.PotionItem
net.minecraft.server.v1_16_R1.ItemPotion

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public ItemStack
r()
getDefaultInstance()
method_7854()
getStackForRender()
func_190903_i()
public ItemStack
a(bki arg0, bqb arg1, aoy 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_(bki arg0)
getUseDuration(ItemStack arg0)
method_7881(class_1799 arg0)
getMaxUseTime(ItemStack arg0)
func_77626_a(ItemStack arg0)
public UseAnim
d_(bki arg0)
getUseAnimation(ItemStack arg0)
method_7853(class_1799 arg0)
getUseAction(ItemStack arg0)
func_77661_b(ItemStack arg0)
public InteractionResultHolder<ItemStack>
a(bqb arg0, bec arg1, anf 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(bki arg0)
getDescriptionId(ItemStack arg0)
method_7866(class_1799 arg0)
getTranslationKey(ItemStack arg0)
func_77667_c(ItemStack arg0)
public boolean
e(bki arg0)
isFoil(ItemStack arg0)
method_7886(class_1799 arg0)
hasGlint(ItemStack arg0)
func_77636_d(ItemStack arg0)
public void
a(biy arg0, gi<bki> 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(bki arg0, bqb arg1, List<mr> arg2, bls 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)