Simulates the passage of time when sleeping through the night by ticking entities and/or randomly ticking blocks proportional to the amount of time skipped. Also adds a command (/simulate) to simulate (and optionally set/add) time.
Issues should be submitted via GitHub (here), if possible, but can be submitted internally, if need be.
This mod has been released into the public domain. Use it anywhere in any way.
This mod is specifically coded to work with Morpheus. It may or may not work with other mods that alter sleep.
A server with this mod can allow or disallow clients from connecting without this mod. Here are some things to keep in mind when deciding whether or not to allow them to connect:
- If allowed, and if the server is set to send command message lang keys to be translated on the client running the /simulate command (OPs only), clients without this mod will receive the raw lang keys, rather than the intended text.
- If allowed, and if 1) the night is set to simulate in a single server tick; 2) a sleep delay is used; and 3) the server is set to put players in a deep sleep; then clients without this mod will not be put in one. Since being in a deep sleep is what prevents players from leaving their beds during a sleep delay, players without this mod installed on their client will be able to leave and enter a will, while those with it installed will not be.
Before Night Simulation
After Night Simulation