HomeJavaModsHealerBed
HealerBed
ModsJava

HealerBed

by tenkumabear · on Modrinth

Heals and feeds you when or after sleeping.

⬇ Download on Modrinth

This mod aims to provide a simple way for modpacks to heal the player when/after sleeping, with customizability in mind.

It works by hooking into Minecraft's net.minecraft.world.WorldServer class and waiting for it to call EntityPlayer.wakeUpPlayer inside this.wakeAllPlayers. Alternatively it will listen to PlayerWakeUpEvent if it's configured to allow incomplete sleeps.

Configuration

Inside .minecraft/config/healerbed.cfg lies all mod configuration. It is self-documented.

What you can currently change:

Supported versions

I made this mod for my personal use on 1.10.2, feel free to contribute code for other game versions.

AI Disclosure

Not a single line of code was written by AI, however I relied on AI to learn how to inject on game code (ASM).

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more