I've also come across a solution for this.
Although I'm not quite sure if this is working properly because when breaking a carrot, I detect two packets both with the action of START_DESTROY_BLOCK, and nothing else.
For now this seems to suffice.
var packetDig = Java.type("net.minecraft.network.play.client.C07PacketPlayerDigging"); module.on("packet", function(eventData) { var packet = eventData.getPacket(); if (packet instanceof packetDig) { Chat.print("Stat: " + packet.getStatus()); Chat.print("Pos: " + packet.getPosition()); Chat.print("Facing: " + packet.getFacing()); //eventData.cancelEvent(); } });