This mod is part of The Vanilla Experience.
Sleep Sooner is a minimalistic mod that adds a configurable functionality to change the time when a player can go to bed. A Minecraft day takes 24000 ticks to complete. The default time in ticks when you can sleep is 12540. The default value for the mod is 12000 ticks, but you may alter it to your liking. If you are in the grace period and right-click the bed, you'll do something (= a random message) to pass the time until dusk. After which you can sleep as normal.
Version 2.0 allows you to set the time higher than 12540 as well, forcing the player to sleep later.
Configurable: ( how do I configure? )
enableSleepSooner (default = true): Allows you to disable/enable the Sleep Sooner mod.
enablePreSleepMessage (default = true): Allows you to disable/enable the message you receive before sleeping. You still need to click the bed twice if the current time is below 12540.
whenSleepIsPossibleInTicks (default = 12000, min 0, max 24000): The default time in ticks when you can sleep is ~12540. The default Sleep Sooner mod value is 12000.
You may freely use this mod in any modpack, as long as the download remains hosted within the CurseForge ecosystem.
Serilum.com contains an overview and more information on all mods available.
Comments are disabled as I'm unable to keep track of all the separate pages on each mod.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!