Interface ProjectileItem

All Known Implementing Classes:
ArrowItem, EggItem, ExperienceBottleItem, FireChargeItem, FireworkRocketItem, LingeringPotionItem, SnowballItem, SpectralArrowItem, SplashPotionItem, ThrowablePotionItem, TippedArrowItem, TridentItem, WindChargeItem

public interface ProjectileItem
Mappings:
Namespace Name
named net/minecraft/item/ProjectileItem
intermediary net/minecraft/class_9463
official cyj
  • Method Details

    • createEntity

      ProjectileEntity createEntity(World world, Position pos, ItemStack stack, Direction direction)
      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;
    • getProjectileSettings

      default ProjectileItem.Settings getProjectileSettings()
      Mappings:
      Namespace Name Mixin selector
      named getProjectileSettings Lnet/minecraft/item/ProjectileItem;getProjectileSettings()Lnet/minecraft/item/ProjectileItem$Settings;
      intermediary method_58653 Lnet/minecraft/class_9463;method_58653()Lnet/minecraft/class_9463$class_9464;
      official b Lcyj;b()Lcyj$a;
    • initializeProjectile

      default void initializeProjectile(ProjectileEntity entity, double x, double y, double z, float power, float uncertainty)
      Mappings:
      Namespace Name Mixin selector
      named initializeProjectile Lnet/minecraft/item/ProjectileItem;initializeProjectile(Lnet/minecraft/entity/projectile/ProjectileEntity;DDDFF)V
      intermediary method_58654 Lnet/minecraft/class_9463;method_58654(Lnet/minecraft/class_1676;DDDFF)V
      official a Lcyj;a(Lcqp;DDDFF)V