Affects Version/s: Minecraft 1.12
Fix Version/s: None
Environment:OS: Windows 10, Anniversary edition.
Video that shows glitch:
The included image shows a construction that can be used to quickly replicate the feature.
Happens when attempting to sleep in a bed with a block directly or one block spaced above the players head.
Expected: Player enters bed, no movement.
Happened: Camera glitches around (see video).
Steps to Reproduce:
1. Put bed on platform, one side of the bed must not have flooring present (i.e. cliff of 1+ blocks).
2. Set block into position
3. Go in bed at night