|Item Data Value:||0|
|Item Text ID:||minecraft:bed|
Beds allow the player to sleep until the morning. They can only be used at night. In a multiplayer server only if all players are in a bed will the servers time change to morning. Sleeping in a bed changes your respawn point to the beds location.
/give (user) (item id) (amount) (item data value)