接口 ProjectileShootOptions实验性

Optional arguments for @minecraft/server.EntityProjectileComponent.shoot.

interface ProjectileShootOptions {
    uncertainty?: number;
}

属性

uncertainty?: number

Controls the accuracy of the shot. A value of 0 is perfect accuracy.