Mods / Hungry? Wake Up! [OBSOLETE]

Category: #QoL #Tweak #Utility
Author: DanaCraluminum
Side: Both
Created: Apr 6th 2023 at 12:48 PM
Last modified: Apr 24th 2023 at 12:29 PM
Downloads: 923
Follow Unfollow 19

Latest file for Various v1.18.x:
HungryWakeUp-v1.0.1.zip 1-click install


[Discord]

I'm living in Ukraine and there is war happening right now. Most of my free time I spend on modding when I get a few hours between electricity blackouts.
If you love my work, you can support me on Patreon, I would greatly appreciate it ❤️. Donations keep me doing what I truly love - modding.


Mod is no longer maintained, further updates will only be available in Dana Tweaks.

Wakes up player when saturation reaches 0

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v1.0.1 698 Apr 24th 2023 at 12:29 PM Show HungryWakeUp-v1.0.1.zip Install now
v1.0.0 225 Apr 6th 2023 at 12:51 PM Show HungryWakeUp-v1.0.0.zip Install now

6 Comments (oldest first | newest first)

💬 Iver, Feb 16th at 8:53 AM

Is it compatible with 1.19.3 DanaCraluminum?

💬 Frepo, Apr 7th 2023 at 12:34 PM

Awesome!! Thank yooouuuu!!!

💬 DanaCraluminumAuthor, Apr 7th 2023 at 12:26 PM

Frepo I just uploaded mod for "Resting heals the player"

💬 Frepo, Apr 7th 2023 at 11:55 AM

It should work fine. As long as a player is ejected from the bed (when saturation reaches 0) the server wakes up all.

💬 DanaCraluminumAuthor, Apr 7th 2023 at 11:18 AM

Frepo I don't know, but it checks every player

💬 Frepo, Apr 7th 2023 at 11:06 AM

Excellent! I was planning on modding this for our server (but didn't have the skill, at the time at least). It works on multiplayer servers?
I've made somewhat of an sleeping overhaul for our server. With mechanics that checks local temperature (including checks if you're in a room, wetness, wind, rain, and nearby heat sources). So if it's too cold or you're under open sky when raining, you won't be able to sleep. Then I made some extra tiers of beds (with some colored variants) that provide a warmth bonus, and low tier beds have a chance to break after use. I got it all to work (except for waking players up when hungry), but it's not very well done I guess. Like sometimes the break sound plays when just picking up the bed, thats only supposed to play when the bed breaks from using it.

If you like the idea and want to make this mod into more of an "SleepOverhaul" mod (would be nice if it was made by somebody who actually CAN code :D) I'll gladly provide you with my models and textures (and code *embarrased*).
Here's a summary of my take on it:

Bed tiers
-------------------
Tier 1: Strawbed (Sleep for up to 6 hours. 20% break chance. 0 degrees warmth bonus, 0% healing bonus)
Tier 2: Aged Bed (Sleep for up to 7 hours. 5% break chance. +3 degrees warmth bonus, +20% healing bonus)
Tier 3: Wooden Bed (Sleep for up to 8 hours. 0% break chance. +6 degrees warmth bonus, +40% healing bonus)
Tier 4: Velvet Bed (Sleep for up to 9 hours. 0% break chance. +9 degrees warmth bonus, +60% healing bonus)
Tier 5: King's Bed (Sleep for up to 10 hours. 0% break chance. +12 degrees warmth bonus, +80% healing bonus)

New mechanics
-------------------
- Can't sleep in rain
- Can't sleep when too cold
- Low tier beds can break
- Can't sleep when hungry (I was never able to implement this)
- Insomnia debuff when not slept for 48 hours (I was never able to implement this)
- Resting heals the player (I was never able to implement this)

(edit comment delete)