-
-
Notifications
You must be signed in to change notification settings - Fork 30
Well Rested
Well Rested is a feature that prevents players from sleeping back-to-back (utilizing both sleeping bags/beds and hammocks). When active, players will be unable to go to sleep for a configurable amount of time before they feel tired.
Set to true to enable a feature that prevents players from sleeping again after a configurable amount of time after sleeping.
An decimal number between 1.0 and 20.0 inclusive that, when Well Rested is set to true, determines how long players must wait after sleeping before sleeping again. The default is 2.0F. The calculation takes the number of ticks that a player slept and divides it by the sleepy factor. The resulting number is how many ticks a player must wait before being able to sleep again. If a player sleeps for less than 500 ticks, the feature does not activate and a player may immediately sleep afterwards.