Command CanPlaceOn Minecraft?

Lu
2

Can you give yourself a block at Minecraft that you can place anywhere in Adventure mode. There's CanPlaceOn, but does not want to write in every single existing block

Be

As far as I know, this is not possible, but I think someone has already done it here

https://gist.github.com/CBTela/7c8f2bf24b22650d4cd75d742e379423

Lu

Thank you, only the 1.16 blocks are missing