发现 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.
评论 0
登录后参与评分
还没有评论,来抢沙发吧