A tiny client-side icon warns when phantoms can spawn — triggered after 3 days without using a bed. No sounds, no HUD clutter, no server changes.

Subtle warning appears in the status effect area.
How It Works
- Tracks Time Since Last Rest.
- Resets on bed use or death.
- Fully client-side — works on any server.
- Only shown in the Overworld.
Pro Tip
No need to sleep.
Lie down on a bed for a split moment — that's enough to avoid phantoms for 3 more days.
Known Notes
- Does not sync with
doInsomniagamerule. - No skylight or height checks.
Future Ideas
- Actual phantom spawning also requires overhead skylight and Y > 64.
Add a separate icon for general insomnia; keep the current red-eye icon for when all spawn conditions are met.
More lightweight, modular, UX-centered mods: artginzburg on Modrinth
How to Install Insomnia Notifier (Mod)
Insomnia Notifier by artginzburg is verified for Fabric across Minecraft versions 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8 (latest release: 1.0.1, file size: 32 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8) and platform (Fabric).
- Make sure you have the compatible loader or environment installed for Fabric.
- Move the downloaded Insomnia Notifier file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version- Distinction between just Insomnia and actual Phantom Spawning
- Insomnia means the player hasn't slept for 3 days
- Phantom Spawning is actually the same effect but with a cyan border that usually appears on Beacon-produced effects. It is shown when all conditions for spawning phantoms are met.
## Features
- Adds a custom purple status effect "Insomnia" that appears when the player hasn't lied in a bed for >3 Minecraft days.
- Works in both singleplayer and multiplayer environments
- Client-side only - no server installation required
- Persists sleep tracking data in a local file:
- Located in
.minecraft/cache/insomnia-tracker/ - Uses JSON format for data storage
- Survives game restarts
- Separate tracking per world/server
- Automatically creates and manages data files
- Tracks time since last rest accurately across:
- Regular sleep
- Death events
- World/server changes
- Respawn events
- Dimension changes
- Only shows the effect in dimensions where beds work (like the Overworld)
- Follows vanilla Minecraft phantom spawn rules:
- Appears after 72000 ticks (60 minutes) without sleep
- Updates in real-time