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

helix / usedStatCriteria

Function: usedStatCriteria() โ€‹

usedStatCriteria(item): ObjectiveKind

Defined in: core/frontend/nodes/objective.ts:38

The minecraft.used:<item> criterion for item, for right-click detection. Reset it each tick; >= 1 next tick means a use.

Parameters โ€‹

item โ€‹

ItemLike

Returns โ€‹

ObjectiveKind

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