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

spool / ProjectileProfile

Interface: ProjectileProfile โ€‹

Defined in: plugins/ballistics/projectiles.ts:36

Properties โ€‹

defaultFuse? โ€‹

readonly optional defaultFuse?: number

Defined in: plugins/ballistics/projectiles.ts:51

fuse ticks a /summoned one starts with, where the entity has a fuse at all.


drag โ€‹

readonly drag: number

Defined in: plugins/ballistics/projectiles.ts:42

Per-tick horizontal velocity multiplier.


dragY? โ€‹

readonly optional dragY?: number

Defined in: plugins/ballistics/projectiles.ts:47

Per-tick vertical multiplier, if different from drag (living entities use 0.98).


gravity โ€‹

readonly gravity: number

Defined in: plugins/ballistics/projectiles.ts:40

Blocks/tick^2 subtracted from vy once per tick (Entity.getDefaultGravity()).


id โ€‹

readonly id: string

Defined in: plugins/ballistics/projectiles.ts:38

The entity id to /summon.


order โ€‹

readonly order: TickOrder

Defined in: plugins/ballistics/projectiles.ts:49

Where gravity falls relative to the move and drag. Changes the curve.

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