Sleepn't Mod
Want to live a nocturnal lifestyle in Minecraft but don't want to constantly search for new respawn points? This mod solves this problem - it completely disables the ability to sleep in bed, yet allows you to use it to set your spawn point after death.
The process is extremely simple: just right-click on a bed to set your respawn point. No more wasting night time on sleep - continue playing actively 24/7!
Note: the mod affects only the overworld.