ProjectileLaunchEvent
Cancellable projectile launch with mutable authoritative motion.
Bedriox\Api\Event\Entity\ProjectileLaunchEvent
classBedriox\Api\Event\Entity
Public methods
__construct(Bedriox\Api\Player\Player|Bedriox\Api\Entity\LivingEntity $shooter, int $runtimeEntityId, string $projectileIdentifier, Bedriox\Api\World\Position $position, Bedriox\Api\Entity\Vector3 $motion)Typed public method.
motion(): Bedriox\Api\Entity\Vector3Typed public method.
setMotion(Bedriox\Api\Entity\Vector3 $motion): voidTyped public method.
