withCanDestroy

abstract override fun withCanDestroy(blocks: Collection<Block>): I

Creates new item metadata with the given can destroy blocks.

Return

new item metadata

Parameters

blocks

the new blocks the item can destroy