
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 getConfig 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.