更长的一天 —— 以数据包形式,而非模组
分别设定白天和夜晚的持续时间——并让服务器记住这些设置。玩家无需安装任何内容。
Minecraft 本身可以通过 /time rate 0.5 来减缓整个循环的速度。但它无法对白天和夜晚进行差异化处理。这个数据包可以做到:它在日出和日落时切换速率,因此你可以拥有漫长的白天和正常的夜晚。
设置
两个数字,表示正常速度的百分比。50 = 半速 = 时长加倍。
/scoreboard players set #day ld 50 白天以半速流逝
/scoreboard players set #night ld 100 夜晚保持正常速度
| 你想要的效果 |
#day |
#night |
| 所有事物时长加倍 |
50 |
50 |
| 所有事物时长变为三倍 |
33 |
33 |
| 漫长白天,正常夜晚 |
50 |
100 |
| 正常白天,漫长夜晚 |
100 |
50 |
| 漫长白天,短暂夜晚 |
50 |
200 |
| 恢复原版默认值 |
100 |
100 |
该设置在重启和 /reload 后依然保留。只需设置一次。
为什么使用数据包
其他所有实现方式都是模组,而模组必须由每位玩家安装,或者至少由服务器安装并保持与加载器同步。
这是一个数据包:
- 仅限服务端。 玩家无需安装任何东西,除了感受到白天变长外,不会察觉其他变化。
- 适用于 Vanilla、Fabric、NeoForge、Paper、Purpur、Folia —— 因为它是数据包,加载器并不重要。
- 可在现有世界中使用。 放入文件并执行
/reload 即可。
安装
服务器
- 将
.zip 放入 <level-name>/datapacks/
- 执行
/reload,或重启服务器
- 按上述方法设置
#day 和 #night —— 仅需一次
单人游戏
- 将
.zip 放入 .minecraft/saves/<world>/datapacks/
- 执行
/reload
它实际改变了什么
数据包每刻读取时间线,并在日出或日落时,通过游戏自带的 /time rate 应用你设定的速率。这意味着所有跟随时钟的事物都保持同步——太阳、月相、村民日程、掠夺者巡逻队。没有任何内容被伪造或手动重新计时。
在真实的 26.1、26.2 和 26.3 服务器上,与未使用该数据包的原版运行情况进行对比测量:
|
原版 |
#day 50, #night 200 |
| 白天 |
22.8 ticks/s |
11.5 ticks/s (0.50×) |
| 夜晚 |
22.8 ticks/s |
45.7 ticks/s (2.00×) |
兼容性
Minecraft 26.1、26.2 和 26.3 —— 一个文件适用于这三个版本。
常见问题
它能在我已经游玩的世界中工作吗?
可以。与世界生成数据包不同,这个可以在任何时候添加。
玩家需要安装任何东西吗?
不需要。仅限服务端。
我可以恢复正常吗?
执行 /scoreboard players set #day ld 100,并对 #night 执行相同操作。
为什么不直接使用 /time rate?
因为它对整个循环应用单一系数,并且每次重启后都需要重新输入。此数据包将白天和夜晚分开,并自动应用你的设置。
Longer Days — as a datapack, not a mod
Set how long the day and the night last — separately — and let the server
remember it. Nothing to install for players.
Minecraft itself can slow the whole cycle down with /time rate 0.5. What it
cannot do is treat day and night differently. This pack does: it switches the
rate at sunrise and sunset, so you can have long days and normal nights.
Settings
Two numbers, in percent of normal speed. 50 = half speed = twice as long.
/scoreboard players set #day ld 50 the day passes at half speed
/scoreboard players set #night ld 100 the night stays normal
| What you want |
#day |
#night |
| Everything twice as long |
50 |
50 |
| Everything three times as long |
33 |
33 |
| Long days, normal nights |
50 |
100 |
| Normal days, long nights |
100 |
50 |
| Long days, short nights |
50 |
200 |
| Back to vanilla |
100 |
100 |
The setting survives restarts and /reload. Set it once.
Why a datapack
Every other way to do this is a mod, and a mod has to be installed by every
player or at least by the server and kept in step with the loader.
This is a datapack:
- Server-side only. Players install nothing and notice nothing except
longer days.
- Works on Vanilla, Fabric, NeoForge, Paper, Purpur, Folia — it is a
datapack, the loader does not matter.
- Works on an existing world. Drop it in and
/reload.
Installation
Server
- Put the
.zip into <level-name>/datapacks/
/reload, or restart the server
- Set
#day and #night as above — once
Singleplayer
- Put the
.zip into .minecraft/saves/<world>/datapacks/
/reload
What it actually changes
The pack reads the day timeline every tick and, when the sun rises or sets,
applies your rate with the game's own /time rate. That means everything
that follows the clock stays in step — the sun, the moon phase, villager
schedules, pillager patrols. Nothing is faked or re-timed by hand.
Measured on real 26.1, 26.2 and 26.3 servers, against a vanilla run without
the pack:
|
vanilla |
#day 50, #night 200 |
| daytime |
22.8 ticks/s |
11.5 ticks/s (0.50×) |
| night |
22.8 ticks/s |
45.7 ticks/s (2.00×) |
Compatibility
Minecraft 26.1, 26.2 and 26.3 — one file for all three.
FAQ
Does it work on a world I already play?
Yes. Unlike a worldgen pack, this one can be added at any time.
Do players need to install anything?
No. Server-side only.
Can I go back to normal?
/scoreboard players set #day ld 100 and the same for #night.
Why not just /time rate?
Because that applies one factor to the whole cycle, and you would have to type
it again after every restart. This pack keeps day and night apart and applies
your setting automatically.
评论 0
登录后参与评分
还没有评论,来抢沙发吧