Cotton Candy Bed

Cotton Candy Bed is a type of utility block found in the CandyLands and is the CandyCraft counterpart to the vanilla Bed.

Obtaining
It does not require any tool to be obtained, and so, will drop even if mined with bare hands.

Usage
Cotton Candy Beds are 9/16th of a block high and more than one pixel than half a block, so it allows you walk onto other blocks while on top of a Cotton Candy Bed, but not onto a Cotton Candy Bed from a level below it.

Placement
Cotton Candy Beds take up two blocks of space. They require two blocks from the player's facing direction. They cannot be placed on non-solid blocks. Cotton Candy Beds will float if supporting blocks are removed under them.

Sleeping
Cotton Candy Beds are used by right-clicking a Cotton Candy Bed at night. Attempting to use a Cotton Candy Bed during the day will display "You can only sleep at night". Cotton Candy Beds cannot be used if the player is not on the same level as them and on a solid block that is a valid placing location for a Cotton Candy Bed.

Players cannot sleep if hostile mobs are nearby them or if they are on fire when they attempt to sleep. Using a Cotton Candy Bed at night will make the screen fade to black and automatically skip the current time in the CandyCraft dimension to sunrise. Cotton Candy Beds, however, do not speed up external processes such as smelting.