Class BowItem

java.lang.Object
net.minecraft.item.Item
net.minecraft.item.BowItem

public class BowItem extends Item
Mappings:
Namespace Name
official ach
intermediary net/minecraft/class_1033
named net/minecraft/item/BowItem
  • Constructor Details

    • BowItem

      public BowItem()
      Mappings:
      Namespace Name Mixin selector
      official <init> Lado;<init>()V
      intermediary <init> Lnet/minecraft/class_1069;<init>()V
      named <init> Lnet/minecraft/item/Item;<init>()V
  • Method Details

    • method_11362

      private ItemStack method_11362(PlayerEntity playerEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Lach;a(Lzj;)Ladq;
      intermediary method_11362 Lnet/minecraft/class_1033;method_11362(Lnet/minecraft/class_988;)Lnet/minecraft/class_1071;
      named method_11362 Lnet/minecraft/item/BowItem;method_11362(Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/item/ItemStack;
    • method_11364

      protected boolean method_11364(@Nullable ItemStack itemStack)
      Mappings:
      Namespace Name Mixin selector
      official h_ Lach;h_(Ladq;)Z
      intermediary method_11364 Lnet/minecraft/class_1033;method_11364(Lnet/minecraft/class_1071;)Z
      named method_11364 Lnet/minecraft/item/BowItem;method_11364(Lnet/minecraft/item/ItemStack;)Z
    • method_3359

      public void method_3359(ItemStack stack, World world, LivingEntity entity, int int2)
      Overrides:
      method_3359 in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Lado;a(Ladq;Laht;Lsa;I)V
      intermediary method_3359 Lnet/minecraft/class_1069;method_3359(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Lnet/minecraft/class_1699;I)V
      named method_3359 Lnet/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 b Lach;b(I)F
      intermediary method_11363 Lnet/minecraft/class_1033;method_11363(I)F
      named method_11363 Lnet/minecraft/item/BowItem;method_11363(I)F
    • getMaxUseTime

      public int getMaxUseTime(ItemStack stack)
      Overrides:
      getMaxUseTime in class Item
      Mappings:
      Namespace Name Mixin selector
      official e Lado;e(Ladq;)I
      intermediary method_3350 Lnet/minecraft/class_1069;method_3350(Lnet/minecraft/class_1071;)I
      named getMaxUseTime Lnet/minecraft/item/Item;getMaxUseTime(Lnet/minecraft/item/ItemStack;)I
    • getUseAction

      public UseAction getUseAction(ItemStack stack)
      Returns the UseAction for an item when the item is used. Used by food, potions, bows, etc.
      Overrides:
      getUseAction in class Item
      Parameters:
      stack - The ItemStack that was used
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Lado;f(Ladq;)Lafa;
      intermediary method_3366 Lnet/minecraft/class_1069;method_3366(Lnet/minecraft/class_1071;)Lnet/minecraft/class_1099;
      named getUseAction Lnet/minecraft/item/Item;getUseAction(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/util/UseAction;
    • method_11373

      public TypedActionResult<ItemStack> method_11373(ItemStack itemStack, World world, PlayerEntity playerEntity, Hand hand)
      Overrides:
      method_11373 in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Lado;a(Ladq;Laht;Lzj;Lqm;)Lqp;
      intermediary method_11373 Lnet/minecraft/class_1069;method_11373(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Lnet/minecraft/class_988;Lnet/minecraft/class_2961;)Lnet/minecraft/class_2963;
      named method_11373 Lnet/minecraft/item/Item;method_11373(Lnet/minecraft/item/ItemStack;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:
      getEnchantability in class Item
      Returns:
      Enchantability
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lado;c()I
      intermediary method_3362 Lnet/minecraft/class_1069;method_3362()I
      named getEnchantability Lnet/minecraft/item/Item;getEnchantability()I