BerryBushPlugin
Demo

Basic Information
A Minecraft plugin that adds slow breaking for sweet berries.
Permissions
bbush.fast – if a player has this permission, sweet berries will become ripe instantly.
bbush.access – allows interaction with sweet berries.
How does the clamping processing work?
When the player clamps on a block, the server calls PlayerInteractEvent a bunch of times.
We take the past time of the click, and compare it with the current one, and based on the results, we understand: Is the player clamping, or has he stopped clamping?
The parameter in the config bush.max-click-interval just answers: What is the maximum interval that must pass between clicks, so that the plugin considers it clamping, and not just a click