Windows 10 64 bits, Java 8 (1.8.0_91)
when your bed is under a 2 blocks high roof and behind the bed you have a solid block and over it you have a least 2 blocks of air. In this conditions if you try to sleep you will start jumping or get into the block behind.
What I expected to happen was...:
What actually happened was...:
when the bed is facing north you only jump on it, when is looking east or west you glitch into the block of air behind, and the camera face south, when the bed is facing south you glitch into the block of air and start jumping but more intense than before.
Steps to Reproduce:
1. Place a bed under a 2 blocks high roof (roof of solid blocks)
2. Behind the bed, place a solid block
And this is a video explaining the bug, (In spanish)