Compatibility
Minecraft: Java Edition
Platforms
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Insomnia
Mostly prevents you from sleeping. Messages are configurable and data-driven.
Note: Setting the spawn point with beds is not modified.
Why don't you look at the Gallery and have a look at some of the included messages? Don't worry, there will still be plenty to explore yourself!
What it actually does
This mod displays one of the included messages (dependent on world seed, bed position and day count) when clicking on a bed. If the message is configured to it will also prevent you from sleeping entirely.The mod itself can work server-side only as well if the necessary translations are provided by a resourcepack on the client.
Modpack creator info
Data file
- Location:
data/insomnia/keys.json
- Format: json object of translation key to boolean value whether this key prevents sleep
- Example:
{ "translation_key": "true", "translation_key_allows_sleep": "false" }
Translation file
This is just the normal translation behavior of the game. There should already be sufficient documentation about this on the internet, but in case you require help feel free to join the discord and ask in the #insomnia channel.
Default Messages
In case you'd like to override the default messages either provide new ones with the same ideas or remove them by mapping their value in the data file to null