I have already make plugin with PrimedTnT by if i change by Arrow Entity it does not work. https://pastebin.com/maL5NMiX Thx for all ^~^
PHP: $nbt = new CompoundTag("", [ "Pos" => new ListTag("Pos", [ new DoubleTag("", $x), new DoubleTag("", $y), new DoubleTag("", $z), ]), "Motion" => new ListTag("Motion", [ new DoubleTag("", -sin($yaw / 180 * M_PI) * cos($pitch / 180 * M_PI)), new DoubleTag("", -sin($pitch / 180 * M_PI)), new DoubleTag("", cos($yaw / 180 * M_PI) * cos($pitch / 180 * M_PI)), ]), "Rotation" => new ListTag("Rotation", [ new FloatTag("", $yaw), new FloatTag("", $pitch), ]) ]);$arrow = Entity::createEntity("Arrow", $level, $nbt);$arrow->spawnToAll();// pmmp