Package net.minecraft.item
Class TippedArrowItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.ArrowItem
net.minecraft.item.TippedArrowItem
- All Implemented Interfaces:
ItemConvertible
public class TippedArrowItem extends ArrowItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.Settings -
Field Summary
Fields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_ID, ATTACK_SPEED_MODIFIER_ID, BLOCK_ITEMS, group -
Constructor Summary
Constructors Constructor Description TippedArrowItem(Item.Settings settings) -
Method Summary
Modifier and Type Method Description voidappendStacks(ItemGroup group, DefaultedList<ItemStack> stacks)voidappendTooltip(ItemStack stack, World world, List<Text> tooltip, TooltipContext context)ItemStackgetDefaultStack()StringgetTranslationKey(ItemStack stack)Gets the translation key of this item using the provided item stack for context.Methods inherited from class net.minecraft.item.ArrowItem
createArrowMethods inherited from class net.minecraft.item.Item
asItem, byRawId, canMine, canRepair, damage, finishUsing, fromBlock, getAttributeModifiers, getDrinkSound, getEatSound, getEnchantability, getEquipSound, getFoodComponent, getGroup, getItemBarColor, getItemBarStep, getMaxCount, getMaxDamage, getMaxUseTime, getMiningSpeedMultiplier, getName, getName, getOrCreateTranslationKey, getRarity, getRawId, getRecipeRemainder, getTooltipData, getTranslationKey, getUseAction, hasGlint, hasRecipeRemainder, hasStoredInventory, inventoryTick, isDamageable, isEnchantable, isFireproof, isFood, isIn, isItemBarVisible, isNetworkSynced, isSuitableFor, isUsedOnRelease, method_33261, onClicked, onCraft, onStackClicked, onStoppedUsing, postHit, postMine, postProcessTag, raycast, shouldSyncTagToClient, toString, usageTick, use, useOnBlock, useOnEntity
-
Constructor Details
-
TippedArrowItem
-
-
Method Details
-
getDefaultStack
- Overrides:
getDefaultStackin classItem
-
appendStacks
- Overrides:
appendStacksin classItem
-
appendTooltip
@Environment(CLIENT) public void appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)- Overrides:
appendTooltipin classItem
-
getTranslationKey
Gets the translation key of this item using the provided item stack for context.- Overrides:
getTranslationKeyin classItem
-