Package net.minecraft.item
Class BowItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.BowItem
- All Implemented Interfaces:
Itemable
- Mappings:
Namespace Name official arpintermediary net/minecraft/class_1033named net/minecraft/item/BowItem
-
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_UUID, ATTACK_SPEED_MODIFIER, BLOCK_ITEMS, itemGroup, RANDOM -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the enchantability of an Item.intgetMaxUseTime(ItemStack stack) getUseAction(ItemStack stack) Returns the UseAction for an item when the item is used.private ItemStackmethod_11362(PlayerEntity playerEntity) static floatmethod_11363(int int2) protected booleanmethod_11364(ItemStack itemStack) method_13649(World world, PlayerEntity player, Hand hand) voidmethod_3359(ItemStack stack, World world, LivingEntity entity, int int2) Methods inherited from class net.minecraft.item.Item
addProperty, appendToItemGroup, appendTooltips, beforeBlockBreak, byRawId, canAddTo, canRepair, computeTranslationKey, fromBlock, getBlockBreakingSpeed, getDefaultStack, getItem, getItemGroup, getMaxCount, getMaxDamage, getProperty, getRarity, getRawId, getRecipeRemainder, getTranslationKey, getTranslationKey, hasEnchantmentGlint, hasProperties, inventoryTick, isDamageable, isEnchantable, isFood, isNetworkSynced, method_16075, method_16080, method_3346, method_3353, method_3356, method_3367, method_3383, method_6326, onCraft, onEntityHit, onHit, postProcessNbt, registerBlockItem, setup, shouldSyncNbtToClient, useOnBlock
-
Constructor Details
-
BowItem
- Mappings:
Namespace Name Mixin selector official <init>Lata;<init>(Lata$a;)Vintermediary <init>Lnet/minecraft/class_1069;<init>(Lnet/minecraft/class_1069$class_3555;)Vnamed <init>Lnet/minecraft/item/Item;<init>(Lnet/minecraft/item/Item$Settings;)V
-
-
Method Details
-
method_11362
- Mappings:
Namespace Name Mixin selector official aLarp;a(Laog;)Late;intermediary method_11362Lnet/minecraft/class_1033;method_11362(Lnet/minecraft/class_988;)Lnet/minecraft/class_1071;named method_11362Lnet/minecraft/item/BowItem;method_11362(Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/item/ItemStack;
-
method_11364
- Mappings:
Namespace Name Mixin selector official e_Larp;e_(Late;)Zintermediary method_11364Lnet/minecraft/class_1033;method_11364(Lnet/minecraft/class_1071;)Znamed method_11364Lnet/minecraft/item/BowItem;method_11364(Lnet/minecraft/item/ItemStack;)Z
-
method_3359
- Overrides:
method_3359in classItem- Mappings:
Namespace Name Mixin selector official aLata;a(Late;Laxy;Lafa;I)Vintermediary method_3359Lnet/minecraft/class_1069;method_3359(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Lnet/minecraft/class_1699;I)Vnamed method_3359Lnet/minecraft/item/Item;method_3359(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/entity/LivingEntity;I)V
-
method_11363
public static float method_11363(int int2) - Mappings:
Namespace Name Mixin selector official aLarp;a(I)Fintermediary method_11363Lnet/minecraft/class_1033;method_11363(I)Fnamed method_11363Lnet/minecraft/item/BowItem;method_11363(I)F
-
getMaxUseTime
- Overrides:
getMaxUseTimein classItem- Mappings:
Namespace Name Mixin selector official cLata;c(Late;)Iintermediary method_3350Lnet/minecraft/class_1069;method_3350(Lnet/minecraft/class_1071;)Inamed getMaxUseTimeLnet/minecraft/item/Item;getMaxUseTime(Lnet/minecraft/item/ItemStack;)I
-
getUseAction
Returns the UseAction for an item when the item is used. Used by food, potions, bows, etc.- Overrides:
getUseActionin classItem- Parameters:
stack- The ItemStack that was used- See Also:
- Mappings:
Namespace Name Mixin selector official dLata;d(Late;)Lauo;intermediary method_3366Lnet/minecraft/class_1069;method_3366(Lnet/minecraft/class_1071;)Lnet/minecraft/class_1099;named getUseActionLnet/minecraft/item/Item;getUseAction(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/util/UseAction;
-
method_13649
- Overrides:
method_13649in classItem- Mappings:
Namespace Name Mixin selector official aLata;a(Laxy;Laog;Ladk;)Ladn;intermediary method_13649Lnet/minecraft/class_1069;method_13649(Lnet/minecraft/class_1150;Lnet/minecraft/class_988;Lnet/minecraft/class_2961;)Lnet/minecraft/class_2963;named method_13649Lnet/minecraft/item/Item;method_13649(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/TypedActionResult;
-
getEnchantability
public int getEnchantability()Returns the enchantability of an Item. Used by tools and armor- Overrides:
getEnchantabilityin classItem- Returns:
- Enchantability
- See Also:
- Mappings:
Namespace Name Mixin selector official cLata;c()Iintermediary method_3362Lnet/minecraft/class_1069;method_3362()Inamed getEnchantabilityLnet/minecraft/item/Item;getEnchantability()I
-