模拟整夜睡眠时时间的流逝,根据跳过时间的长短按比例激活实体和/或随机tick方块。此外还添加了一个命令(/simulate)来模拟时间(并可选地设置/增加时间)。
问题请通过 GitHub 提交(此处),如果可能的话;但如果需要,也可以在此处内部提交。
本模组已发布到公共领域。可在任何地方以任何方式使用它。
本模组专门针对 Morpheus 进行编码以兼容工作。它可能与其他修改睡眠机制的模组兼容,也可能不兼容。
安装了此模组的服务器可以允许或禁止未安装此模组的客户端连接。在决定是否允许他们连接时,请注意以下几点:
- 如果允许连接,且服务器设置为将 /simulate 命令的消息语言键发送给运行该命令的客户端进行翻译(仅限 OP),则未安装此模组的客户端将收到原始的语言键,而不是预期的文本。
- 如果允许连接,并且 1) 夜间模拟被设置为在一个服务器 tick 内完成;2) 使用了睡眠延迟;以及 3) 服务器设置为使玩家进入深度睡眠;那么未安装此模组的客户端将不会进入深度睡眠。由于处于深度睡眠状态会阻止玩家在睡眠延迟期间离开床铺,因此未安装此模组的客户端玩家将能够随意离开和进入床铺,而安装了此模组的玩家将无法做到这一点。
夜间模拟前

夜间模拟后

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

评论 0
登录后参与评分
还没有评论,来抢沙发吧