Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

spool / LaunchSolution

Interface: LaunchSolution โ€‹

Defined in: plugins/ballistics/launch.ts:52

Properties โ€‹

error โ€‹

readonly error: number

Defined in: plugins/ballistics/launch.ts:68

Blocks between impact and the target. Round-off (~1e-13) for a clean solve.


impact โ€‹

readonly impact: Vec3

Defined in: plugins/ballistics/launch.ts:64

Closest approach of the simulated flight to the target.


impactTick โ€‹

readonly impactTick: number

Defined in: plugins/ballistics/launch.ts:66

Fractional tick at which that closest approach happens.


path โ€‹

readonly path: readonly Vec3[]

Defined in: plugins/ballistics/launch.ts:70

The full simulated flight path, tick by tick - handy for previewing with particles.


pitch โ€‹

readonly pitch: number

Defined in: plugins/ballistics/launch.ts:56

Degrees, 0 horizontal, negative up.


projectile โ€‹

readonly projectile: ProjectileProfile

Defined in: plugins/ballistics/launch.ts:71


speed โ€‹

readonly speed: number

Defined in: plugins/ballistics/launch.ts:58

Launch speed in blocks/tick (multiply by 20 for blocks/second).


ticks โ€‹

readonly ticks: number

Defined in: plugins/ballistics/launch.ts:62

Flight time in ticks; use as the TNT fuse.


velocity โ€‹

readonly velocity: Vec3

Defined in: plugins/ballistics/launch.ts:60

The launch velocity itself - what goes in the Motion tag.


yaw โ€‹

readonly yaw: number

Defined in: plugins/ballistics/launch.ts:54

Degrees, 0 = +Z (south), increasing clockwise from above.

Released under the MIT License ยท Credits
These docs were written with AI; the layout and every page have been reviewed by a human.