Class BowItem

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

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

    • BowItem

      public BowItem()
      Mappings:
      Namespace Name Mixin selector
      official <init> Lain;<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 Lahg;a(Laed;)Laip;
      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(ItemStack itemStack)
      Mappings:
      Namespace Name Mixin selector
      official d Lahg;d(Laip;)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 Lain;a(Laip;Lamu;Lvp;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 Lahg;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 Lain;e(Laip;)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 Lain;f(Laip;)Lakc;
      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_13649

      public TypedActionResult<ItemStack> method_13649(World world, PlayerEntity player, Hand hand)
      Overrides:
      method_13649 in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Lain;a(Lamu;Laed;Lub;)Lue;
      intermediary method_13649 Lnet/minecraft/class_1069;method_13649(Lnet/minecraft/class_1150;Lnet/minecraft/class_988;Lnet/minecraft/class_2961;)Lnet/minecraft/class_2963;
      named method_13649 Lnet/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:
      getEnchantability in class Item
      Returns:
      Enchantability
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lain;c()I
      intermediary method_3362 Lnet/minecraft/class_1069;method_3362()I
      named getEnchantability Lnet/minecraft/item/Item;getEnchantability()I