CurseForge · Minecraft mod
Difficulty Lock
🔒 Sets a difficulty in any world, optionally locked, or force a hardcore mode requirement.
Quick answer
Which Difficulty Lock release should I use?
Difficulty Lock [Fabric/Forge/Neo] 26.3.0-5.1 | Difficulty Lock targets 26.3 with Fabric, Forge, NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. All 1 required mods have matching files.
Where it goes
Is Difficulty Lock required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does Difficulty Lock [Fabric/Forge/Neo] 26.3.0-5.1 | Difficulty Lock need?
[Fabric/Forge/Neo] 26.3.0-5.1 | Difficulty Lock. Change the file and its required mods may change too.
Install Collective first. We found matching files for this game-version and loader setup.
We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add Difficulty Lock without breaking your instance.
Built for Difficulty Lock [Fabric/Forge/Neo] 26.3.0-5.1 | Difficulty Lock. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use [Fabric/Forge/Neo] 26.3.0-5.1 | Difficulty Lock. It targets 26.3 with Fabric, Forge, NeoForge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Collective first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside [Fabric/Forge/Neo] 26.3.0-5.1 | Difficulty Lock. It opens that exact file at the source.
About this project
What does Difficulty Lock add?
Difficulty Lock adds an easy way to configure the difficulty in all (new) worlds. Can be useful for modpacks, or just in your singleplayer experience if you have a default difficulty you always play with. There are config options to force the Hardcore gamemode, disable cheats, or prevent Creative mode from being selected.
The Create World Screen is correctly updated with the config settings. Also works on (dedicated) servers.
All available config options:
The priority shows how the mod handles when multiple gamemodes are set to true in the config. E.g. if all are enabled all new worlds will be peaceful.
forceHardcoreMode default false
Sets the world game mode to hardcode mode and ignores the other difficulty settings when enabled.
disableCreativeModeSelection default false
Whether Creative Mode should not be possible to select in the world creation screen.
forcePeaceful default false
Priority 1: Sets the difficulty in any world to peaceful when enabled.
forceEasy default false
Priority 2: Sets the difficulty in any world to easy when enabled.
forceNormal default false
Priority 3: Sets the difficulty in any world to normal when enabled.
forceHard default true
Priority 4: Sets the difficulty in any world to hard when enabled.
forceCheatsDisabled default false
Whether the cheats option should be forced to be disabled on the initial world creation screen.
shouldLockDifficulty default true
When enabled, locks the difficulty in any world so it cannot be changed.
shouldChangeDifficultyWhenAlreadyLocked default false
When enabled, also sets the difficulty in worlds where it has already been locked.
With the default configuration, all worlds will be set to hard with the difficulty locked:
The Create World Screen is also updated.
Here the config options forceHard and forceCheatsDisabled are true:
The mod also allows users to be forced to play in Hardcore Mode, via the config:
You may freely use this mod in any modpack, as long as the download remains hosted within the CurseForge or Modrinth ecosystem.
Serilum.com contains an overview and more information on all mods available.
Comments are disabled as I'm unable to keep track of them across so many separate mod pages.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!
Project description from CurseForge.
Pick your setup
Difficulty Lock by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.3
4 loader builds26.2
4 loader builds26.1.2
4 loader builds26.1.1
4 loader builds26.1
4 loader builds1.21.11
4 loader builds1.21.10
4 loader builds1.21.9
4 loader builds1.21.8
4 loader builds1.21.7
4 loader builds1.21.6
4 loader builds1.21.5
4 loader buildsShowing the newest 12 of 29 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Difficulty Lock versions and loaders
[Fabric/Forge/Neo] 26.3.0-5.1 | Difficulty Lock
difficultylock-26.3.0-5.1.jar
10 Oct 2026
[Fabric/Forge/Neo] 26.2.0-5.1 | Difficulty Lock
difficultylock-26.2.0-5.1.jar
10 Oct 2026
[Fabric/Forge/Neo] 1.21.1-5.1 | Difficulty Lock
difficultylock-1.21.1-5.1.jar
10 Oct 2026
[Fabric/Forge/Neo] 1.20.1-5.1 | Difficulty Lock
difficultylock-1.20.1-5.1.jar
10 Oct 2026
[Fabric/Forge/Neo] 26.3.0-5.0 | Difficulty Lock
difficultylock-26.3.0-5.0.jar
2 Oct 2026
[Fabric/Forge/Neo] 26.2.0-5.0 | Difficulty Lock
difficultylock-26.2.0-5.0.jar
2 Oct 2026
[Fabric/Forge/Neo] 1.21.1-5.0 | Difficulty Lock
difficultylock-1.21.1-5.0.jar
2 Oct 2026
[Fabric/Forge/Neo] 1.20.1-5.0 | Difficulty Lock
difficultylock-1.20.1-5.0.jar
2 Oct 2026
[Fabric/Forge/Neo] 26.3.0-4.9 | Difficulty Lock
difficultylock-26.3.0-4.9.jar
20 Sept 2026
[Fabric/Forge/Neo] 26.2.0-4.9 | Difficulty Lock
difficultylock-26.2.0-4.9.jar
18 Jun 2026
[Fabric/Forge/Neo] 26.1.2-4.9 | Difficulty Lock
difficultylock-26.1.2-4.9.jar
9 Apr 2026
[Fabric/Forge/Neo] 26.1.1-4.9 | Difficulty Lock
difficultylock-26.1.1-4.9.jar
2 Apr 2026
Looking for an older file? The official CurseForge project page is in Resources.
