canBeReplacedWith

fun BlockState.canBeReplacedWith(pos: BlockPos, usedStack: ItemStack): Boolean