mirror of
https://github.com/FabricMC/fabric.git
synced 2024-12-12 09:11:11 -05:00
5f4a2056f3
The ClientPreAttackCallback will fire every tick when the attack key is pressed, before vanilla attack handling. If the callback returns true, then the vanilla handling (breaking block, attacking entity, swining hand) will be cancelled. For multiple callbacks, if the former callback returns true, the later callback won't execute. This event does not consider attack cooldown. |
||
---|---|---|
.. | ||
src | ||
build.gradle |