public class HoneyBottleItem extends Item
Item.SettingsATTACK_DAMAGE_MODIFIER_UUID, ATTACK_SPEED_MODIFIER_UUID, BLOCK_ITEMS, group, RANDOM| Constructor and Description |
|---|
HoneyBottleItem(Item.Settings settings) |
| Modifier and Type | Method and Description |
|---|---|
ItemStack |
finishUsing(ItemStack stack,
World world,
LivingEntity user) |
SoundEvent |
getDrinkSound() |
SoundEvent |
getEatSound() |
int |
getMaxUseTime(ItemStack stack) |
UseAction |
getUseAction(ItemStack stack) |
TypedActionResult<ItemStack> |
use(World world,
PlayerEntity user,
Hand hand) |
addPropertyGetter, appendStacks, appendTooltip, asItem, byRawId, canMine, canRepair, damage, fromBlock, getEnchantability, getFoodComponent, getGroup, getMaxCount, getMaxDamage, getMiningSpeedMultiplier, getModifiers, getName, getName, getOrCreateTranslationKey, getPropertyGetter, getRarity, getRawId, getRecipeRemainder, getStackForRender, getTranslationKey, getTranslationKey, hasEnchantmentGlint, hasPropertyGetters, hasRecipeRemainder, inventoryTick, isDamageable, isEffectiveOn, isEnchantable, isFireproof, isFood, isIn, isIn, isNetworkSynced, isUsedOnRelease, onCraft, onStoppedUsing, postHit, postMine, postProcessTag, rayTrace, shouldSyncTagToClient, toString, usageTick, useOnBlock, useOnEntitypublic HoneyBottleItem(Item.Settings settings)
public ItemStack finishUsing(ItemStack stack, World world, LivingEntity user)
finishUsing in class Itempublic int getMaxUseTime(ItemStack stack)
getMaxUseTime in class Itempublic UseAction getUseAction(ItemStack stack)
getUseAction in class Itempublic SoundEvent getDrinkSound()
getDrinkSound in class Itempublic SoundEvent getEatSound()
getEatSound in class Itempublic TypedActionResult<ItemStack> use(World world, PlayerEntity user, Hand hand)