VehicleControlEvent
Cancellable authoritative boat-control intent before motion is applied.
Bedriox\Api\Event\Vehicle\VehicleControlEvent
classBedriox\Api\Event\Vehicle
Public methods
__construct(Bedriox\Api\Player\Player $driver, Bedriox\Api\Entity\Vanilla\Boat $vehicle, float $forward, float $strafe, float $yaw, bool $paddlingLeft, bool $paddlingRight)Typed public method.
forward(): floatTyped public method.
strafe(): floatTyped public method.
yaw(): floatTyped public method.
isPaddlingLeft(): boolTyped public method.
isPaddlingRight(): boolTyped public method.
setAxes(float $forward, float $strafe): voidTyped public method.
setYaw(float $yaw): voidTyped public method.
setPaddling(bool $left, bool $right): voidTyped public method.
