Sorry for wrong section last post but Quick question: how can i set the speed (or the gravity) of Snowball just like $force in PlayerShootBowEvent ?
Solved. PHP: public function snowball(ProjectileLaunchEvent $event) { //Base of any others if($event->getEntity() instanceof Snowball) { $motion = $event->getEntity()->getMotion(); $event->getEntity()->setMotion($motion->divide(1.5)->multiply(6)); } }