public class TippedArrowItem extends ArrowItem
Item.Settings
ATTACK_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.
|
createArrow
asItem, 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, useOnEntity
public TippedArrowItem(Item.Settings settings)
public ItemStack getDefaultStack()
getDefaultStack
in class Item
public 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 Item
public String getTranslationKey(ItemStack stack)
getTranslationKey
in class Item