is something like this possible? i need to know how to test if the player is holding a silk tool. here's my current code to try and get the item im holding when breaking a block:
BlockEvents.broken(e => {
let player = e.player
if (!player) return;
if (e.block.getId() == 'randomium:randomium'){
console.log(player.getUseItem())
}
})
but it just isnt doing anything








