BetaBetaairBetacatchBetacritBetadestroyReadonly BetaentityBetagravityOptional BetahitOptional BetahitOptional BetahitReadonly BetaisBetalightningBetaliquidBetaonOptional BetaownerBetashouldBetastopReadonly BetatypeStatic Readonly BetacomponentBetaThe velocity to fire the projectile. This controls both the speed and direction which which the projectile will be shot.
Optionaloptions: ProjectileShootOptionsOptional configuration for the shoot.
The projectile component controls the properties of a projectile entity and allows it to be shot in a given direction. This component is present when the entity has the minecraft:projectile component.
Example: shootArrow.ts