consume

inline fun consume(gate: () -> Boolean, block: () -> Boolean): Int

Uses up the presses of the current tick. A press failing gate is dropped, as vanilla drops presses while missTime is set. Returns the amount of successful block calls.