damageToolBreakBlock

fun LivingEntity.damageToolBreakBlock()

Damages the tool in the entity's main hand as if they've broken a block.