Set (-ender)chest rotation?

How I can set rotation of (-ender)chest?
I tried add Keys.ROTATION and Keys.CHEST_ROTATION,
But either I do not use them correctly, or they do not work, or I need something else …
Can I got some examples?

I don’t know, it’s just a guess: Keys.DIRECTION.

1 Like

You guessed correctly. Thank you :smiley:

1 Like

To change the facing direction of any block. Just use Key.DIRECTION. the chest rotation key is for double chests (I belive) and the normal rotation key is for entities (i belive)