net.minecraft.world.item

public class OminousBottleItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

cvh
net.minecraft.world.item.OminousBottleItem
net.minecraft.class_9462
net.minecraft.item.OminousBottleItem
net.minecraft.src.C_313844_
net.minecraft.world.item.OminousBottleItem

Field summary

Modifier and TypeField
private static final int
j
DRINK_DURATION
field_50146
MAX_USE_TIME
f_313942_
public static final int
a
EFFECT_DURATION
field_50143
BAD_OMEN_LENGTH
f_316721_
public static final int
b
MIN_AMPLIFIER
field_50144
field_50144
f_316759_
public static final int
c
MAX_AMPLIFIER
field_50145
field_50145
f_315293_

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public ItemStack
a(cuq arg0, dcw arg1, btn 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)
m_5922_(C_1391_ p_329423_, C_1596_ p_328184_, C_524_ arg2)
public int
a(cuq arg0, btn arg1)
getUseDuration(ItemStack arg0, LivingEntity arg1)
method_7881(class_1799 arg0, class_1309 arg1)
getMaxUseTime(ItemStack arg0, LivingEntity arg1)
m_8105_(C_1391_ p_343900_, C_524_ arg1)
public UseAnim
b(cuq arg0)
getUseAnimation(ItemStack arg0)
method_7853(class_1799 arg0)
getUseAction(ItemStack arg0)
m_6164_(C_1391_ arg0)
public InteractionResultHolder<ItemStack>
a(dcw arg0, cmx arg1, bqq 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)
m_7203_(C_1596_ p_330900_, C_1141_ p_332260_, C_470_ arg2)
public void
a(cuq arg0, cul$b arg1, List<wz> arg2, cwm 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)
appendTooltip(ItemStack arg0, Item$TooltipContext arg1, List<Text> arg2, TooltipType arg3)
m_7373_(C_1391_ p_327872_, C_1381_$C_313602_ p_328132_, List<C_4996_> p_328273_, C_1431_ arg3)