跳到正文

Local Difficulty Utilities

Fixes local difficulty display on the client and syncs inhabited time from the server. Includes configs and commands to easily edit a chunks local difficulty.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Local Difficulty Utilities

Local Difficulty Utilities is a lightweight utility mod that:

  • Fixes the client-side display of local difficulty.
  • Syncs each chunk’s inhabited time value from the server, so the client sees the real difficulty.
  • Adds commands to view and edit the inhabited time of chunks.
  • Provides configurable options for debugging, syncing, and modifying local difficulty values.

Commands

/ldu inhabited chunk get <target>

Displays the inhabitedTime value of the target chunk.


/ldu inhabited chunk set <target> <time>

Sets the targets inhabitedTime value.


/ldu inhabited region <x1> <z1> <x2> <z2> <dimension> <time>

Sets all loaded chunks inhabitedTime values in-between the two coordinates at once.


/ldu inhabited cancel

Cancels any ongoing region commands.


Config Options

restoreLocalDifficultly: true

If true, the Local Difficulty entry in the F3 debug menu will be re-enabled so you can see the local difficulty and the day values. If the server doesn’t also have this mod with inhabitedTime syncing enabled, then the local difficulty value will be wrong due. The day value will always be correct.


syncInhabitedOnF3: true

If true, the server will respond to chunk sync requests when the client has the F3 debug menu open.


syncInhabitedOnNewChunk: true

If true, the server will respond to chunk sync requests when the client enters a new chunk.


regionMaxChunks: 250001

This is the maximum amount of chunks that can be edited at once with the region command.


regionBatchSize: 100

This limits how many chunks the region command will try to edit per tick.


Other Information

  • The region command will only select and edit chunks that are loaded into the game’s memory.
  • This mod can be used on servers without this mod, but the client won’t be able to get display the correct local difficulty because it doesn’t have access to the needed information.

Requirements

常见问题

Local Difficulty Utilities 支持哪些 Minecraft 版本?

Local Difficulty Utilities 支持 Minecraft Java 版 1.21–1.21.5,共 6 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Local Difficulty Utilities 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。

评论

登录后评论和评分

HalfFishHalfMan 的其他作品

查看全部 →