Sleep Sooner (Legacy Fabric)
Sleep Sooner (Legacy Fabric)
This mod provides a minimalist solution for changing the time when players can go to sleep. In standard Minecraft, a day lasts 24000 ticks, and the ability to sleep becomes available at 12540 ticks. Sleep Sooner allows you to customize this parameter according to your preferences.
By default, the mod sets the sleep time to 12000 ticks, but you can modify this value in the configuration. If you attempt to sleep during the waiting period, your character will perform a random action with a corresponding message to pass the time until nightfall.
Version 2.0 Features
The second version of the mod expands functionality by allowing you to set sleep times later than the standard 12540 ticks. Now you can make your character go to bed either earlier or later than usual.
Configuration Settings
enableSleepSooner (default = true): Enables or disables the Sleep Sooner mod functionality.
enablePreSleepMessage (default = true): Controls the display of messages before sleeping. Even with messages disabled, you'll need to click the bed twice if the current time is less than 12540 ticks.
whenSleepIsPossibleInTicks (default = 12000, minimum 0, maximum 24000): Determines the time in ticks when sleep becomes possible. The standard Minecraft value is approximately 12540 ticks, while the mod defaults to 12000 ticks.
Requirements
The mod requires the Collective (Fabric) library mod and Fabric API to function properly.
Please note: This is the Legacy Fabric version for 1.16 and 1.17. New files and updates have been moved to the main project page. For Forge versions and Fabric 1.18+, use the main version of the mod.