azalea::interact

Function check_block_can_be_broken_by_item_in_adventure_mode

Source
pub fn check_block_can_be_broken_by_item_in_adventure_mode(
    item: &ItemSlotData,
    _block: &BlockState,
) -> bool
Expand description

Check if the item has the CanDestroy tag for the block.