Local Difficulty Utilities

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.

by
408 Downloads
fabricutility
Rent Server with this Mod

About this Mod

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

Available Versions

1.0.1+1.21.2release
MC 1.21.2, 1.21.3, 1.21.4, 1.21.5fabric
May 25, 2025
1.0.1+1.21release
MC 1.21, 1.21.1fabric
May 25, 2025
1.0.0+1.21.2release
MC 1.21.2, 1.21.3, 1.21.4, 1.21.5fabric
May 23, 2025
1.0.0+1.21release
MC 1.21, 1.21.1fabric
May 23, 2025

How to Install Local Difficulty Utilities on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.5).

3

Install Mod

Open the mod browser in the dashboard and search for "Local Difficulty Utilities". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.21.5, 1.21.4, 1.21.3 (+3 more)

Server-side

~ Optional

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Local Difficulty Utilities server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.5). You can switch loaders with one click in the panel.

Is Local Difficulty Utilities compatible with fabric?

Local Difficulty Utilities officially supports fabric for Minecraft 1.21.5, 1.21.4, 1.21.3. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Local Difficulty Utilities – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Local Difficulty Utilities consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Local Difficulty Utilities with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Optional

Supported Versions

1.21.51.21.41.21.31.21.21.21.11.21