Class SpectralArrowItem

All Implemented Interfaces:
ItemConvertible, ProjectileItem, ToggleableFeature

public class SpectralArrowItem extends ArrowItem
Mappings:
Namespace Name
named net/minecraft/item/SpectralArrowItem
intermediary net/minecraft/class_1825
official cyy
  • Constructor Details

    • SpectralArrowItem

      public SpectralArrowItem(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> Lcxk;<init>(Lcxk$a;)V
  • Method Details

    • createArrow

      public PersistentProjectileEntity createArrow(World world, ItemStack stack, LivingEntity shooter, @Nullable @Nullable ItemStack shotFrom)
      Overrides:
      createArrow in class ArrowItem
      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 Lcvp;a(Ldhh;Lcxo;Lbwf;Lcxo;)Lcqd;
    • createEntity

      public ProjectileEntity createEntity(World world, Position pos, ItemStack stack, Direction direction)
      Specified by:
      createEntity in interface ProjectileItem
      Overrides:
      createEntity in class ArrowItem
      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 Lcyj;a(Ldhh;Lka;Lcxo;Ljm;)Lcqp;