When I use this code to launch snowball but when I test it does not happen. Work with PrimedTNT. Code: https://pastebin.com/VF5CjreB
PHP: new DoubleTag("", -\sin ($player->yaw / 180 * M_PI) *\cos ($player->pitch / 180 * M_PI)),new DoubleTag ("", -\sin ($player->pitch / 180 * M_PI)),new DoubleTag("",\cos ($player->yaw / 180 * M_PI) *\cos ( $player->pitch / 180 * M_PI)) How are you not getting error there?