The bed needs 3 Wood and you can ONLY craft it in a Woodworks.
The bed is painted badge and it is a queen-sized but it only consumes 2 blocks. Also you glitch-out or not sleep if you surround it. So you have to put it in a open space.
You may not sleep when it's surround it. (iOS only?)
You RARELY glitch-out from the bed.