Registers a handler for every frame in which the given Bindable is held down.
Your decorated method should return whether or not the bindable is actually held. (For example, if the mouse was in the right
spot and the action can currently be executed.) If you return true, no other@Bind.onHolding handlers will be run. If you
return false, other matching @Bind.onHolding handlers will be run.
Registers a handler for every frame in which the given Bindable or "anything" is held down. This handler will always be executed, even if other handlers also matched the catalyst.
Registers a handler for every frame in which the given
Bindable
is held down.Your decorated method should return whether or not the bindable is actually held. (For example, if the mouse was in the right spot and the action can currently be executed.) If you return
true
, no other@Bind.onHolding
handlers will be run. If you returnfalse
, other matching@Bind.onHolding
handlers will be run.