modifying projectiles in bow events
Accessing and modifying projectiles in EntityShootBowEvent requires casting from Entity to Projectile safely and handling arrow entity types.
- EntityShootBowEvent returns an Entity rather than a Projectile for getProjectile, requiring casting to access methods like setShooter
- Blindly casting getProjectile to Projectile can cause ClassCastExceptions if modified by other plugins, so pattern matching with instanceof is recommended
- The TippedArrow class is deprecated because tipped arrows and standard arrows share the same underlying entity type


