How to get 1 third slabs using commands [closed]

I'm trying to get 1 third slabs command in minecraft. The slabs:

  1. Can be placed on each other no matter what.

  2. If it's a chest, or an interacting block, can be used

  3. /block commands apparently don't work


Solution 1:

You can't do that legally.

There is no such thing as a third of a block in Minecraft as it would require the block to have a number of layers/pixels/units divisible by 3. However, the blocks have a width/height of a power of 2 (8, 16, ...) and those will never be divisible by 3, since both are prime numbers. Or in short: 2^n/3 will never result in an Integer, which would be required in order to create a third of a block.