Hello! I've successfully removed tilling with right-click with a hoe. However, the sound effect still plays if it's a valid block, even after the event is cancelled.
I want it so trying to till it doesn't do anything, no farmland, no damage, no sound. How would I achieve that?
This is how I've disabled tilling:
BlockEvents.rightClicked(event => {
const item = event.item;
if (!item) return;
if (item.hasTag('forge:tools/hoes')) {
event.cancel();
}
});