Difficulty Lock

Difficulty Lock

🔒 Sets a difficulty in any world, optionally locked, or force a hardcore mode requirement.

4.5M downloads
Created Apr 9, 2026
by Serilum

About

<p style="text-align: center;"><center><a href="https://serilum.com/"><img src="https://github.com/Serilum/.cdn/raw/main/description/header/header.png" alt="" width="838" height="400" /></a></p><p style="text-align: center;"><a href="https://curseforge.com/members/serilum/projects" target="_blank" rel="noopener noreferrer"><img src="https://raw.githubusercontent.com/Serilum/.data-workflow/main/badges/svg/curseforge.svg" width="200" /></a> <a href="https://modrinth.com/user/Serilum" target="_blank" rel="noopener noreferrer"><img src="https://raw.githubusercontent.com/Serilum/.data-workflow/main/badges/svg/modrinth.svg" width="200" /></a> <a href="https://patreon.com/serilum" target="_blank" rel="noopener noreferrer"><img src="https://raw.githubusercontent.com/Serilum/.data-workflow/main/badges/svg/patreon.svg" width="200" /></a> <a href="https://youtube.com/@serilum" target="_blank" rel="noopener noreferrer"><img src="https://raw.githubusercontent.com/Serilum/.data-workflow/main/badges/svg/youtube.svg" width="200" /></a></center></p><p><strong><span style="font-size: 24px;">Requires the library mod&nbsp;<a style="font-size:24px" href="https://modrinth.com/mod/collective" target="_blank" rel="nofollow">Collective</a>.</span></strong><br><br><strong>&nbsp;&nbsp;&nbsp;This mod is part of <span style="color:#666"><a style="color:#666" href="https://modrinth.com/mod/serilums-customization-bundle" target="_blank" rel="nofollow">Serilum's Customization Bundle</a></span> mod.</strong><br><span style="font-size:18px">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.<br><br>The Create World Screen is correctly updated with the config settings. Also works on (dedicated) servers.</span><br><br><br><strong><span style="font-size:20px">Configurable:</span> <span style="color:#008000;font-size:14px"><a style="color:#008000" href="https://github.com/Serilum/.information/wiki/how-to-configure-mods" rel="nofollow">(&nbsp;how do I configure?&nbsp;)</a></span><br></strong><span style="font-size:11px"><em>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.</em></span><strong><br>forceHardcoreMode</strong>&nbsp;(default = false): Sets the world game mode to hardcode mode and ignores the other difficulty settings when enabled.<br><span style="font-size:12px"><strong>disableCreativeModeSelection</strong>&nbsp;(default = false): Whether Creative Mode should not be possible to select in the world creation screen.<br></span><br><span style="font-size:12px"><strong>forcePeaceful</strong>&nbsp;(default = false): Priority 1: Sets the difficulty in any world to peaceful when enabled.</span><br><span style="font-size:12px"><strong>forceEasy</strong>&nbsp;(default = false): Priority 2: Sets the difficulty in any world to easy when enabled.</span><br><span style="font-size:12px"><strong>forceNormal</strong>&nbsp;(default = false): Priority 3: Sets the difficulty in any world to normal when enabled.</span><br><span style="font-size:12px"><strong>forceHard</strong>&nbsp;(default = true): Priority 4: Sets the difficulty in any world to hard when enabled.<br></span><br><span style="font-size:12px"><strong>forceCheatsDisabled</strong>&nbsp;(default = false): Whether the cheats option should be forced to be disabled on the initial world creation screen.</span><br><span style="font-size:12px"><strong>shouldLockDifficulty</strong>&nbsp;(default = true): When enabled, locks the difficulty in any world so it cannot be changed.</span><br><span style="font-size:12px"><strong>shouldChangeDifficultyWhenAlreadyLocked</strong>&nbsp;(default = false): When enabled, also sets the difficulty in worlds where it has already been locked.<br><br><br><span style="font-size:18px">With the default configuration, all worlds will be set to hard with the difficulty locked:</span><br><img src="https://github.com/Serilum/.cdn/raw/main/projects/difficulty-lock/a.png" width="1142" height="597"></span></p> <p><br><br><span style="font-size:18px">The Create World Screen is also updated.<br>Here the config options <strong><em>forceHard</em></strong> and <strong><em>forceCheatsDisabled</em></strong> are <strong><em>true</em></strong>:</span><br><img src="https://github.com/Serilum/.cdn/raw/main/projects/difficulty-lock/b.png"><br><br><br><span style="font-size:18px">The mod also allows users to be forced to play in Hardcore Mode, via the config:</span><br><img src="https://github.com/Serilum/.cdn/raw/main/projects/difficulty-lock/c.png"><br><br>------------------<br><br><span style="font-size:24px"><strong>You may freely use this mod in any modpack, as long as the download remains hosted within the Modrinth ecosystem.</strong></span><br><br><span style="font-size:18px"><a style="font-size:18px;color:#008000" href="https://serilum.com/" rel="nofollow">Serilum.com</a> contains an overview and more information on all mods available.</span><br><br><span style="font-size:14px">Comments are disabled as I'm unable to keep track of all the separate pages on each mod.</span><span style="font-size:14px"><br>For issues, ideas, suggestions or anything else there is the&nbsp;<a style="font-size:14px;color:#008000" href="https://github.com/Serilum/.issue-tracker" rel="nofollow">Github repo</a>. Thanks!</span><span style="font-size: 6px;"><br /><br /></span></p><p style="text-align: center;"><center><a href="https://serilum.com/donate" target=_blank><img src="https://github.com/Serilum/.cdn/raw/main/description/projects/support.svg" alt="" width="320" /></a></center></p>

Versions

v1.21.11-4.8-fabric+forge+neoLatest
1.21.11•fabric, forge, neoforge, quilt•Dec 11, 2025

<p>Updated mod to Minecraft version 1.21.11.</p><p>The complete changelog with previous versions can be found at: <br>&nbsp; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank">https://serilum.com/mods?changelog=difficulty-lock</a></p>

Download
v1.21.10-4.8-fabric+forge+neo
1.21.10•fabric, forge, neoforge, quilt•Oct 7, 2025

<p>Updated mod to Minecraft version 1.21.10.</p><p>The complete changelog with previous versions can be found at: <br>&nbsp; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank">https://serilum.com/mods?changelog=difficulty-lock</a></p>

Download
v1.21.9-4.8-fabric+forge+neo
1.21.9•fabric, forge, neoforge, quilt•Oct 4, 2025

<p>(1.21.9 Forge) Fixed incorrect remnant files included in the mod jar.</p><p>The complete changelog with previous versions can be found at: <br>&nbsp; <a href="https://serilum.com/mods?changelog=difficulty-lock" target="_blank">https://serilum.com/mods?changelog=difficulty-lock</a></p>

Download

Download

Download v1.21.11-4.8-fabric+forge+neo

Minecraft: 1.21.11

Loaders: fabric, forge, neoforge, quilt

Tags

fabricforgeneoforgequilt1.21.71.21.81.21.91.21.101.21.11