nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)

Showcase video coming soontm
 

This is my submission for the 2023 SpookyJam hosted by the 1.12 Modding Coalition
 

SleepLess

 

MixinBooter and The Impossible Library are required dependencies
 

SleepLess is a mod that takes inspiration from the sanity mechanic from Don't Starve as well as the real life effects lack of sleep can have on you and adds some creative flair to them. The idea was to go more along the psychological horror route and make something actually cool out of sleeping (or lack thereof) since vanilla phantoms in 1.13+ are annoying at best
 

Sleep Debt
Sleep debt is what controls all of the effects present in the mod. You can gain sleep debt by not sleeping enough during the night (the eqivalent of less than 5 hours) or pay it off by getting more than enough sleep. The sleep debt gained/lost is scaled based on how many hours are slept with 1 full day being added if you don't sleep at all and 3 full days paid off if you sleep through the entire night. The max values gained/lost are configurable
 

The Effects
Here is a list of all the different currently implemented effects. Almost all are configurable

  • faster hunger drain
  • slower walking speeds
  • slower mining speeds
  • faster drowning
  • incremental chances for random ambient sounds to play
  • quieter sounds
  • denser render distance fog
  • closer fog
  • "heavy breathing" (dynamically changes FOV but this is disabled by default)
  • dimmer lights
  • loss of color
  • the ability to see phantom entities
  • the ability to get attacked by phantom entities
  • night terrors
     

Effect Scaling
Contrary to the vanilla system of not sleeping for 3 days, SleepLess works on a 10+ day schedule for the most part. For the first few days of sleep debt gained you won't really notice much difference, but as your chronic lack of sleep continues, you start getting some bigger changes like phantom visibility at 5 days, the chance for phantoms to be aggressive at 7.5 days, loss of color and brightness at 8-9 days, and the chance to have night terrors at 10+ days. Most of the effects also scale slowly but can keep scaling as your sleep debt increases too
 

Other Effects
SleepLess adds 3 unique effects, though only 2 have actual uses. The first is the Tired effect that you get once you have at least 1 day of sleep debt. The second is the Insomnia effect which prevents you from sleeping while the effect is active. The final effect is Phased which lets you phase your walls, ceilings, & floors if you are sneaking. The phased effect has a specific config option regarding which blocks you are allowed to phase through.
 
 

Want to host a server? You can use code 'DimHop'  For 25% off your first month!

External resources


Project members

The_Computerizer

Owner


Technical information

License
MIT
Client side
required
Server side
required
Project ID