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,ProjectileItem,ToggleableFeature
- Mappings:
Namespace Name named net/minecraft/item/TippedArrowItemintermediary net/minecraft/class_1833official dbx
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.Settings, Item.TooltipContextNested classes/interfaces inherited from interface net.minecraft.item.ProjectileItem
ProjectileItem.PositionFunction, ProjectileItem.Settings -
Field Summary
Fields inherited from class net.minecraft.item.Item
BASE_ATTACK_DAMAGE_MODIFIER_ID, BASE_ATTACK_SPEED_MODIFIER_ID, BLOCK_ITEMS, DEFAULT_BLOCKS_ATTACKS_MAX_USE_TIME, DEFAULT_MAX_COUNT, ENTRY_CODEC, ENTRY_PACKET_CODEC, ITEM_BAR_STEPS, MAX_MAX_COUNT, translationKeyFields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the default stack for this item.Methods inherited from class net.minecraft.item.ArrowItem
createArrow, createEntityMethods inherited from class net.minecraft.item.Item
appendTooltip, asItem, byRawId, canBeNested, canMine, finishUsing, fromBlock, getBonusAttackDamage, getComponents, getDamageSource, getItemBarColor, getItemBarStep, getMaxCount, getMaxUseTime, getMiningSpeed, getName, getRawId, getRecipeRemainder, getRegistryEntry, getRequiredFeatures, getTooltipData, getTranslationKey, getUseAction, hasGlint, inventoryTick, isCorrectForDrops, isItemBarVisible, isUsedOnRelease, onClicked, onCraft, onCraftByPlayer, onItemEntityDestroyed, onStackClicked, onStoppedUsing, postDamageEntity, postHit, postMine, postProcessComponents, raycast, shouldShowOperatorBlockWarnings, toString, usageTick, use, useOnBlock, useOnEntityMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.item.ProjectileItem
getProjectileSettings, initializeProjectileMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
Constructor Details
-
TippedArrowItem
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/item/Item;<init>(Lnet/minecraft/item/Item$Settings;)Vintermediary <init>Lnet/minecraft/class_1792;<init>(Lnet/minecraft/class_1792$class_1793;)Vofficial <init>Ldag;<init>(Ldag$a;)V
-
-
Method Details
-
getDefaultStack
Returns the default stack for this item.Items that expect certain components in the item stack should override this method to return the stack with the component data.
- Overrides:
getDefaultStackin classItem- Returns:
- the default stack for this item
- Mappings:
Namespace Name Mixin selector named getDefaultStackLnet/minecraft/item/Item;getDefaultStack()Lnet/minecraft/item/ItemStack;intermediary method_7854Lnet/minecraft/class_1792;method_7854()Lnet/minecraft/class_1799;official mLdag;m()Ldak;
-
getName
- Overrides:
getNamein classItem- Mappings:
Namespace Name Mixin selector named getNameLnet/minecraft/item/Item;getName(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/text/Text;intermediary method_7864Lnet/minecraft/class_1792;method_7864(Lnet/minecraft/class_1799;)Lnet/minecraft/class_2561;official aLdag;a(Ldak;)Lxg;
-