Package net.minecraft.world.item
Class OminousBottleItem
java.lang.Object
net.minecraft.world.item.Item
net.minecraft.world.item.OminousBottleItem
- All Implemented Interfaces:
FeatureElement
,ItemLike
,IForgeItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.item.Item
Item.Properties, Item.TooltipContext
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
static final int
static final int
static final int
Fields inherited from class net.minecraft.world.item.Item
ABSOLUTE_MAX_STACK_SIZE, BASE_ATTACK_DAMAGE_UUID, BASE_ATTACK_SPEED_UUID, BY_BLOCK, DEFAULT_MAX_STACK_SIZE, MAX_BAR_WIDTH, STREAM_CODEC
Fields inherited from interface net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
appendHoverText
(ItemStack p_332316_, Item.TooltipContext p_327872_, List<Component> p_328132_, TooltipFlag p_328273_) finishUsingItem
(ItemStack p_332481_, Level p_329423_, LivingEntity p_328184_) getUseAnimation
(ItemStack p_334953_) int
getUseDuration
(ItemStack p_334717_) use
(Level p_332013_, Player p_330900_, InteractionHand p_332260_) Methods inherited from class net.minecraft.world.item.Item
asItem, builtInRegistryHolder, byBlock, byId, canAttackBlock, canFitInsideContainerItems, components, getAttackDamageBonus, getBarColor, getBarWidth, getBreakingSound, getCraftingRemainingItem, getDefaultAttributeModifiers, getDefaultInstance, getDefaultMaxStackSize, getDescription, getDescriptionId, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getEnchantmentValue, getId, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getRenderPropertiesInternal, getTooltipImage, hasCraftingRemainingItem, hurtEnemy, initializeClient, interactLivingEntity, inventoryTick, isBarVisible, isComplex, isCorrectToolForDrops, isEnchantable, isFoil, isValidRepairItem, mineBlock, onCraftedBy, onCraftedPostProcess, onDestroyed, onUseTick, overrideOtherStackedOnMe, overrideStackedOnOther, releaseUsing, requiredFeatures, toString, useOn, useOnRelease, verifyComponentsAfterLoad
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.world.flag.FeatureElement
isEnabled
Methods inherited from interface net.minecraftforge.common.extensions.IForgeItem
canApplyAtEnchantingTable, canContinueUsing, canDisableShield, canElytraFly, canEquip, canGrindstoneRepair, canPerformAction, canWalkOnPowderedSnow, createEntity, doesSneakBypassUse, elytraFlightTick, getArmorTexture, getAttributeModifiers, getBurnTime, getCraftingRemainingItem, getCreatorModId, getDefaultTooltipHideFlags, getEnchantmentLevel, getEnchantmentValue, getEntityLifespan, getEquipmentSlot, getHighlightTip, getSweepHitBox, getXpRepairRatio, hasCraftingRemainingItem, hasCustomEntity, isBookEnchantable, isEnderMask, isNotReplaceableByPickAction, isPiglinCurrency, makesPiglinsNeutral, onArmorTick, onBlockStartBreak, onDestroyed, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onInventoryTick, onItemUseFirst, onLeftClickEntity, onStopUsing, shouldCauseBlockBreakReset, shouldCauseReequipAnimation
-
Field Details
-
DRINK_DURATION
private static final int DRINK_DURATION- See Also:
-
EFFECT_DURATION
public static final int EFFECT_DURATION- See Also:
-
MIN_AMPLIFIER
public static final int MIN_AMPLIFIER- See Also:
-
MAX_AMPLIFIER
public static final int MAX_AMPLIFIER- See Also:
-
-
Constructor Details
-
OminousBottleItem
-
-
Method Details
-
finishUsingItem
- Overrides:
finishUsingItem
in classItem
-
getUseDuration
- Overrides:
getUseDuration
in classItem
-
getUseAnimation
- Overrides:
getUseAnimation
in classItem
-
use
public InteractionResultHolder<ItemStack> use(Level p_332013_, Player p_330900_, InteractionHand p_332260_) -
appendHoverText
public void appendHoverText(ItemStack p_332316_, Item.TooltipContext p_327872_, List<Component> p_328132_, TooltipFlag p_328273_) - Overrides:
appendHoverText
in classItem
-