Make it travel in a straight line forever or just for a bit? Forever would be inpracticle (arrow goes on forever, needs to generate chunks etc) but if you just power then do this... Code: @EventHandler public void onFire(ProjectileLaunchEvent event) { if(event.getEntity() instanceof Arrow) { if(event.getEntity().getShooter() instanceof Player) { event.getEntity().setVelocity(event.getEntity().getVelocity().multiply(POWER GOES HERE - DEFAULT IS 1)); } } }
declanmc96 If you are familiar with schedulers then set it's velocity every tick and then cancel that task when you want to remove it
I know how to but i can get the velocity right, because it starts going upwards. Also with the repeater thing there it stops ProjectileHitEvent being called