Insomniac
I don't know my version or loader
A small simple mod which disables the sleep functionality.
You can configure if you want the bed to still set the spawn or not.
Includes configurable messages for both denied sleep & set spawnpoint. (1.12 and earlier)
Possible to configure which time of day players should be allowed to set spawn. (1.12 and earlier)
Can also be used to set spawn during the day and sleep through the night. (1.12 and earlier in vanilla for 1.16)
For 1.16.5 - Able to sleep on nights with phantom spawns or disable phantoms all-together.
More details in the configs.
I've looked through a couple of suggestions
So far 2 ways to deal with Phantoms and not being able to sleep have been added
Feel free to suggest other options and I'll try to be a little better at updating/adding things :)
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.20.1, 1.20.2, 1.19.3
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on CurseForge — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as insomniac-1.6.jar — drop this file into the mods folder
- Download size: 9 KB
- Download link checked 1 Sept 2026 — working
These come from our own check of the pack file, not from the source page.