Appearance
spool / LaunchSolution
Interface: LaunchSolution โ
Defined in: plugins/ballistics/launch.ts:52
Properties โ
error โ
readonlyerror:number
Defined in: plugins/ballistics/launch.ts:68
Blocks between impact and the target. Round-off (~1e-13) for a clean solve.
impact โ
readonlyimpact:Vec3
Defined in: plugins/ballistics/launch.ts:64
Closest approach of the simulated flight to the target.
impactTick โ
readonlyimpactTick:number
Defined in: plugins/ballistics/launch.ts:66
Fractional tick at which that closest approach happens.
path โ
readonlypath: readonlyVec3[]
Defined in: plugins/ballistics/launch.ts:70
The full simulated flight path, tick by tick - handy for previewing with particles.
pitch โ
readonlypitch:number
Defined in: plugins/ballistics/launch.ts:56
Degrees, 0 horizontal, negative up.
projectile โ
readonlyprojectile:ProjectileProfile
Defined in: plugins/ballistics/launch.ts:71
speed โ
readonlyspeed:number
Defined in: plugins/ballistics/launch.ts:58
Launch speed in blocks/tick (multiply by 20 for blocks/second).
ticks โ
readonlyticks:number
Defined in: plugins/ballistics/launch.ts:62
Flight time in ticks; use as the TNT fuse.
velocity โ
readonlyvelocity:Vec3
Defined in: plugins/ballistics/launch.ts:60
The launch velocity itself - what goes in the Motion tag.
yaw โ
readonlyyaw:number
Defined in: plugins/ballistics/launch.ts:54
Degrees, 0 = +Z (south), increasing clockwise from above.