public class TippedArrowItem extends ArrowItem
Item.SettingsATTACK_DAMAGE_MODIFIER_ID, ATTACK_SPEED_MODIFIER_ID, BLOCK_ITEMS, group, RANDOM| Constructor and Description |
|---|
TippedArrowItem(Item.Settings settings) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendStacks(ItemGroup group,
DefaultedList<ItemStack> stacks) |
void |
appendTooltip(ItemStack stack,
World world,
List<Text> tooltip,
TooltipContext context) |
ItemStack |
getDefaultStack() |
String |
getTranslationKey(ItemStack stack)
Gets the translation key of this item using the provided item stack for context.
|
createArrowasItem, byRawId, canMine, canRepair, damage, finishUsing, fromBlock, getAttributeModifiers, getDrinkSound, getEatSound, getEnchantability, getFoodComponent, getGroup, getMaxCount, getMaxDamage, getMaxUseTime, getMiningSpeedMultiplier, getName, getName, getOrCreateTranslationKey, getRarity, getRawId, getRecipeRemainder, getTranslationKey, getUseAction, hasGlint, hasRecipeRemainder, inventoryTick, isDamageable, isEffectiveOn, isEnchantable, isFireproof, isFood, isIn, isIn, isNetworkSynced, isUsedOnRelease, onCraft, onStoppedUsing, postHit, postMine, postProcessTag, raycast, shouldSyncTagToClient, toString, usageTick, use, useOnBlock, useOnEntitypublic TippedArrowItem(Item.Settings settings)
public ItemStack getDefaultStack()
getDefaultStack in class Itempublic void appendStacks(ItemGroup group, DefaultedList<ItemStack> stacks)
appendStacks in class Item@Environment(value=CLIENT) public void appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)
appendTooltip in class Itempublic String getTranslationKey(ItemStack stack)
getTranslationKey in class Item