发现 Bug?有功能建议? 请使用 GitHub 上的问题追踪器(链接)。
简介
你是否曾觉得日落前的那十分钟太过短暂?这个模组允许你让白天和夜晚变得更长……或者更短。额外时间的量是可配置的,你可以独立调整白天和夜晚的时长。它还添加了一个专属的时钟 HUD 元素。
这不是一个核心模组。这也是在开发此模组时的一个目标。遗憾的是,在 Minecraft 中更改时间非常困难,基本上是不可能的。该模组使用了一些技巧来模拟额外的时间,但有些模组可能无法很好地兼容。
它是如何工作的?
在昼夜循环的特定时刻,模组会“冻结”时间。游戏将继续正常运行,太阳/月亮/星星也会按预期移动(如果启用了天空渲染器)。经过一段可配置的时间后,时间会被“解冻”。这些被称为扩展时段。你可以拥有任意数量的扩展时段。为添加分钟数输入负数将跳过时间(存在缺陷),而不是延长它。默认情况下,中午(MC 时间 6000)有一个扩展时段,午夜(18000)有一个。
默认配置在中午增加 30 分钟,在午夜增加 10 分钟。这使得白天总长为 40 分钟,夜晚为 20 分钟,每个昼夜循环总共 1 小时。根据需要添加、移除或更改扩展时段。
有什么缺点吗?
- 其他改变天空渲染的模组可能会出现问题。如有必要,可以在配置文件中禁用 Extended Days 的天空渲染器。
- 某些使用世界时间进行实体 AI 的模组可能在扩展时段内无法正常工作(例如 Millénaire)。
- 使用负数时段缩短白天/夜晚会导致天空突然跳转。
- 原版时钟的作用会降低(但并非毫无用处)。
- “/time set”命令可能不会如你所愿地工作。
- 如果与 Tough As Nails 一起游玩,这可能会使温度管理变得更加困难,具体取决于你的扩展时段发生的时间(也许将它们移到早晨/傍晚会有所帮助?)
除此之外,一切应正常运作。 方块实体将继续以正常速率 ticking。大多数实体 AI 应不受影响。
要求
时钟栏
既然你不能只是抬头看太阳/月亮来了解剩余多少时间,该模组在你的 HUD 中添加了一个时钟。通常,只有当你头顶是晴朗的天空时,或者当你背包里有时钟或怀表时,它才会显示。你也可以将其配置为始终可见。太阳(夜间则是月亮)指示你在一天中的进度。因此,它从日出到日落变化。
时钟可以通过配置文件重新定位。模组提供了一个配置 GUI,只需进入模组菜单,选择 Extended Days,然后点击 Config 即可在不重启游戏的情况下编辑它。
怀表
怀表是一个升级版的时钟,由一个时钟和一些类型的石英(下界石英也可以)合成。它不像原版时钟那样具有动画效果,但只要它在你的背包里,时钟栏就会始终渲染。时钟栏旁边还会显示精确的时间。
未来计划与已知问题
该模组仍处于早期开发阶段。一些附加功能正在计划中,还有一些小问题有待修复。Bug 报告和功能建议请提交至 问题追踪器。
- 一个准确设置时间的命令。模组已经添加了一个 (/edtime set),但目前不太直观。由于模组跟踪时间的方式,这有点棘手,但应该可以解决。
- 可能会尝试加入季节系统,尚不确定。
- [已添加]
一个怀表物品以替换原版时钟。它将允许你随时查看时钟 HUD 并提供更准确的时间读数。适用于背包的任何位置,并兼容 Baubles。 - [可能不会做] 在时钟上添加标记以指示扩展时段的发生时间。
- [已修复]
版本 0.1.0 没有正确同步客户端和服务端之间的时间。在服务器上游玩时,时钟 HUD 将无法显示正确的数值。但模组在服务器上仍然有效。单人游戏不受影响。
Found a bug? Have a feature suggestion? Please use the issue tracker on GitHub (link).
Introduction
Have you ever felt like just ten minutes before nightfall was too short? This mod allows you to make days and nights longer... or shorter. The amount of extra time is configurable and you can adjust days and night independently. It also adds its own clock HUD element.
This is actually not a core mod. That was a goal when developing this mod. Changing time in Minecraft is unfortunately very difficult, basically impossible. This mod uses some tricks to simulate extra time, but there are some mods this does not work well with.
How Does It Work?
At certain times during the day/night cycle, the mod will "freeze" time. The game will continue to run normally and the sun/moon/stars will move as you would expect (if the sky renderer is enabled). After a configurable amount of time, time is "unfrozen". These are called extended periods. You can have as many extended periods as you want. Entering a negative number for the added minutes will skip time ahead (buggy), instead of extending it. By default, there is one extended period at noon (MC time 6000) and one at midnight (18000).
The default config adds 30 minutes at noon and 10 minutes at midnight. This make days a total of 40 minutes long and nights 20 minutes, for a total of 1 hour per day/night cycle. Add, remove, or change extended periods as you see fit.
Any Downsides?
- Mods that also change sky rendering may have issues. Extended Days' sky renderer can be disabled in the config if necessary.
- Some mods that use world time for entity AI may not work during extended periods (such as Millénaire).
- Shortening days/nights with negative periods will cause the sky to jump ahead.
- Vanilla clocks will not be as useful (but not worthless).
- The "/time set" command may not work as you would expect.
- If playing with Tough As Nails, this might make temperature management more difficult, depending on when your extended periods occur (maybe moving them to morning/evening would help?)
Otherwise, everything should function normally. Tile entities will continue ticking at a normal rate. Most entity AIs should be unaffected.
Requirements
Clock Bar
Since you can't just look up at the sun/moon to get an idea of how much time you have left, the mod adds a clock to your HUD. Normally, this is only visible when you have a clear sky above your head, or when you have a clock or pocket watch in your inventory. Or you can configure it to be visible at all times. The sun (or moon during the night) indicates how far into the day you are. So it goes from sunup to sundown.
The clock can be re-positioned through the config file. The mod has a config GUI, so just go into the Mods menu, select Extended Days, then click Config to edit it without restarting the game.
Pocket Watch
The pocket watch is an upgraded clock, crafted with a clock and some type of quartz (nether quartz will work). It is not animated like the vanilla clock, but just having it in your inventory causes the clock bar to render at all times. An exact time will also be displayed next to the clock bar.
Future Plans and Known Issues
The mod is still early in development. Some additional features are planned and some minor issues remain to be fixed. Bug reports and feature suggestions belong on the issue tracker.
- A command to set time accurately. The mod already adds one (/edtime set), but it's not very intuitive at the moment. It's a bit tricky because of how the mod tracks time, but it should be solvable.
- Might try seasons, not sure about that.
- [Added]
A pocket watch item to replace the vanilla clock. It will allow you to see the clock HUD at any time and give you a more accurate time reading. Works from anywhere in your inventory and is Baubles compatible. - [May not do this] Add markers to the clock to indicate when the extended period occur.
- [Fixed]
Version 0.1.0 is not syncing time properly between client and server. The clock HUD won't display correct values when playing on a server. But the mod still works on servers. Singleplayer is unaffected.
下载 Extended Days
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Extended Days
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Extended Days
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Extended Days
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Extended Days
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Extended Days
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Extended Days
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Extended Days
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Extended Days
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Extended Days
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
# 更新日志
本更新日志遵循 [Keep a Changelog]() 格式,
并采用 [语义化版本控制]()。
## [0.2.9] - 2018-12-01
### 修复
- 加载世界时出现空指针异常 (NPE) [#30]
## [0.2.8] - 2018-10-29
### 新增
- 时间文本(持有怀表时显示)的位置可更改为左侧、右侧、顶部或底部。默认为自动,即根据情况将其放置在左侧或右侧(旧版行为)。
### 变更
- HUD 纹理(Z-Tunic)。元素布局略有不同,如果有人制作了资源包,则需要更新。
### 修复
- 模组在其他维度干扰时间流逝问题,现在应完全忽略除主世界以外的所有维度 [#25, #29]
- 时钟栏在其他维度显示错误的时间
- 当时钟栏位于左侧且使用 24 小时制时,时间文本位置错误
- 延长时间段现尊重 `doDaylightCycle` 游戏内规则
- 怀表合成配方现已使用 JSON 文件,而非直接注册(失误)
- 其他小修复(移除日志中的一些警告)
## [0.2.7]
- 适配 Silent Lib 3.0.x
## [0.2.6]
- 适配 Silent Lib 2.3.18
## [0.2.5]
### 变更
- 打开调试屏幕(F3)时,隐藏时钟 HUD 和调试信息。
### 修复
- 世界时间在第一天的某个时刻被错误设置……希望如此。
- Extended Days 模组替换天空渲染器不再影响 [#20]
## [0.2.4]
### 修复
- 加载世界时偶尔重置世界时间。
- 加载世界时崩溃 [#16]
- 与 Bloodmoon 1.5.3 一起使用时崩溃 [#18]
## [0.2.3]
### 变更
- 移除对 `doDaylightCycle` 游戏内规则的依赖。如果您在离线前处于延长时间段,可能需要重新启用该规则。这应该能解决与大多数(如果不是全部)影响睡眠的模组的兼容性问题。
## [0.2.2]
### 新增
- 兼容 Bloodmoon 模组。模拟 Bloodmoon 的天空渲染,并在夜间添加红色时钟叠加层。
- 配置选项可完全禁用时钟叠加层。
## [0.2.1]
### 修复
- 修复部分用户遇到的崩溃问题 [#9]
## [0.2.0]
### 新增
- 怀表。将怀表放入物品栏后,无论身处何地,您都能准确得知时间!使用石英制作一个原版时钟即可获得怀表。
- 怀表会在时钟栏旁显示实际时间。默认为 24 小时制,但您也可以将其更改为 12 小时制(带上午/下午标识),以符合您的习惯。也有配置选项可完全禁用此功能。默认情况下,文本位于时钟栏右侧;如果时钟栏固定在屏幕右侧,则文本位于左侧(简而言之:您无需调整时钟栏的位置)。
- 只要物品栏中有原版时钟,您现在就能看到时钟栏,但它不会显示精确时间。
- 新增命令 “edtime”。允许拥有权限的用户获取或设置当前时间。目前,设置命令需要两个值,且不太直观。我正在优化它。
### 修复
- 太阳/月亮在延长时间段内不再冻结。该模组完全接管了天空渲染,因此如果其他模组尝试执行相同操作,可能无法正常工作。
## [0.1.2]
### 新增
- 支持 Morpheus [#7]
### 修复
- 在延长时间段内睡觉无效的问题 [#7]
## [0.1.1]
### 新增
- 能够通过负的延长时间段缩短白天/黑夜(这会加速时间流逝,导致太阳/月亮提前移动。我仍在修复天空渲染问题) [#4]
### 修复
- 在专用服务器上运行时,时钟与实际时间不同步 [#3]
- 移除一些不必要的调试文本 [#5]
## [0.1.0]
- 首个 Alpha 版本!包含延长时间段和时钟 HUD。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个基于构建器的 Minecraft 配置库!
模组
? 使用命令保存和加载玩家或他人的背包/套装。
模组
一款轻量级模组,允许服务器管理员对抗透视作弊者。
模组
恢复所有账户的游戏聊天访问权限
模组
通过图形界面控制模组加载。适用于需要可选功能的整合包和服务器,也适合不想手动操作文件而希望直接管理模组的极客用户。
模组
实体tick优化
评论 0
登录后参与评分
还没有评论,来抢沙发吧