Add Wither Arrows
thehale opened this issue ยท 2 comments
Wither Arrows launch a wither skull projectile instead of a normal arrow.
Recipe
Unshaped recipe consisting of one normal arrow and one wither skull.
Detailed Effect Description
In the onThisProjectileShot() method of the new arrow, pass a WitherSkull to the launchProjectile method of the event's entity. This will launch a wither skull instead of a normal arrow.
@DeDandeMan Do you want to try to implement this arrow?
FYI, I've now locked down push access to the master
branch, so make sure to do your development on a separate branch, and create a pull request referencing this issue once you think it's ready.
To help figure out why the (Player)
type cast is failing, consider trying to attach a debugger to the server while it's running the plugin.