世界修改air世界修改catch世界修改crit世界修改destroy只读entity世界修改gravity可选 世界修改hit可选 世界修改hit可选 世界修改hit只读is世界修改lightning世界修改liquid世界修改on可选 世界修改owner世界修改should世界修改stop只读type静态 只读component世界修改The velocity to fire the projectile. This controls both the speed and direction which which the projectile will be shot.
可选options: 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.
示例: shootArrow.ts