Thread:RedstoneDemigod/@comment-25014034-20170521135944/@comment-28728537-20170707122427

I believe it would be possible through multiple looks at the source code and a whole lot of command blocks.

Alternatively, you could use shulkers that are invisible, with the highest amount of resistance.