HomeJavaModsLocal Difficulty Utilities
Local Difficulty Utilities
ModsJava

Local Difficulty Utilities

by HalfFishHalfMan · on Modrinth

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

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Fabric only.

⬇ Download for 1.21.2–1.21.5⬇ Download for 1.21–1.21.1
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Local Difficulty Utilities

Local Difficulty Utilities is a lightweight utility mod that:


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


Requirements

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more