Package net.minecraft.item
Class HoneyBottleItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.HoneyBottleItem
- All Implemented Interfaces:
ItemConvertible
public class HoneyBottleItem extends Item
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_ID, ATTACK_SPEED_MODIFIER_ID, BLOCK_ITEMS, group, RANDOM -
Constructor Summary
Constructors Constructor Description HoneyBottleItem(Item.Settings settings) -
Method Summary
Modifier and Type Method Description ItemStackfinishUsing(ItemStack stack, World world, LivingEntity user)SoundEventgetDrinkSound()SoundEventgetEatSound()intgetMaxUseTime(ItemStack stack)UseActiongetUseAction(ItemStack stack)TypedActionResult<ItemStack>use(World world, PlayerEntity user, Hand hand)Methods inherited from class net.minecraft.item.Item
appendStacks, appendTooltip, asItem, byRawId, canMine, canRepair, damage, fromBlock, getAttributeModifiers, getEnchantability, getFoodComponent, getGroup, getMaxCount, getMaxDamage, getMiningSpeedMultiplier, getName, getName, getOrCreateTranslationKey, getRarity, getRawId, getRecipeRemainder, getStackForRender, getTranslationKey, getTranslationKey, hasEnchantmentGlint, hasRecipeRemainder, inventoryTick, isDamageable, isEffectiveOn, isEnchantable, isFireproof, isFood, isIn, isIn, isNetworkSynced, isUsedOnRelease, onCraft, onStoppedUsing, postHit, postMine, postProcessTag, rayTrace, shouldSyncTagToClient, toString, usageTick, useOnBlock, useOnEntity
-
Constructor Details
-
Method Details
-
finishUsing
- Overrides:
finishUsingin classItem
-
getMaxUseTime
- Overrides:
getMaxUseTimein classItem
-
getUseAction
- Overrides:
getUseActionin classItem
-
getDrinkSound
- Overrides:
getDrinkSoundin classItem
-
getEatSound
- Overrides:
getEatSoundin classItem
-
use
-