Class ArrowItem

java.lang.Object
net.minecraft.item.Item
net.minecraft.item.ArrowItem
All Implemented Interfaces:
ItemConvertible, ProjectileItem, ToggleableFeature
Direct Known Subclasses:
SpectralArrowItem, TippedArrowItem

public class ArrowItem extends Item implements ProjectileItem
Mappings:
Namespace Name
named net/minecraft/item/ArrowItem
intermediary net/minecraft/class_1744
official csh
  • Constructor Details

    • ArrowItem

      public ArrowItem(Item.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/item/Item;<init>(Lnet/minecraft/item/Item$Settings;)V
      intermediary <init> Lnet/minecraft/class_1792;<init>(Lnet/minecraft/class_1792$class_1793;)V
      official <init> Lcuj;<init>(Lcuj$a;)V
  • Method Details

    • createArrow

      public PersistentProjectileEntity createArrow(World world, ItemStack stack, LivingEntity shooter, @Nullable @Nullable ItemStack shotFrom)
      Mappings:
      Namespace Name Mixin selector
      named createArrow Lnet/minecraft/item/ArrowItem;createArrow(Lnet/minecraft/world/World;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/entity/projectile/PersistentProjectileEntity;
      intermediary method_7702 Lnet/minecraft/class_1744;method_7702(Lnet/minecraft/class_1937;Lnet/minecraft/class_1799;Lnet/minecraft/class_1309;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1665;
      official a Lcsh;a(Ldcu;Lcuo;Lbtl;Lcuo;)Lcnb;
    • createEntity

      public ProjectileEntity createEntity(World world, Position pos, ItemStack stack, Direction direction)
      Specified by:
      createEntity in interface ProjectileItem
      Mappings:
      Namespace Name Mixin selector
      named createEntity Lnet/minecraft/item/ProjectileItem;createEntity(Lnet/minecraft/world/World;Lnet/minecraft/util/math/Position;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/entity/projectile/ProjectileEntity;
      intermediary method_58648 Lnet/minecraft/class_9463;method_58648(Lnet/minecraft/class_1937;Lnet/minecraft/class_2374;Lnet/minecraft/class_1799;Lnet/minecraft/class_2350;)Lnet/minecraft/class_1676;
      official a Lcvk;a(Ldcu;Ljw;Lcuo;Lji;)Lcnn;