Example of a custom mining speed on Spigot 1.19.2
Dependencies:
- ProtocolLib
Uses packets (Block break progress packets) with ProtocolLib and detects the mining with arm animation events. This could be done better by listening for a Player Action packet, and listening for the block dig start, end and cancel, instead of using an arm animation event