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

twine / consolidateTick

Function: consolidateTick() โ€‹

consolidateTick(dp): void

Defined in: twine/src/core/factory/consolidate.ts:12

Moves every minecraft:tick function under the pack's own <ns>:tick.

helix tags tick functions straight into minecraft:tick. Under twine the tick should be one list you own, so the whole pack's tick cost is visible in one place.

Safe to run again: call it before writing if you add tick functions after create.

Parameters โ€‹

dp โ€‹

Datapack

Returns โ€‹

void

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