Sets a difficulty in any world, optionally locked, or force a hardcore mode requirement.
41 of 41 current files checked, code read in all 41. Last check 28 Oct 2026. Across its releases since 2020, Modgrade checked all 100 of its files and found no malware in any of them. Below, the checks of one current file: difficultylock-26.3.0-5.2.jar
The resultPassed
The checks look for known signs of harm and cannot prove that a file is harmless. How Modgrade checks
Difficulty Lock configures the difficulty of newly created worlds, making it useful for modpacks or players who want a consistent default. You can set worlds to peaceful, easy, normal, or hard; by default, the mod sets them to hard and locks the difficulty so it cannot be changed. Configuration can also require Hardcore mode, disable cheats on the initial world-creation screen, or prevent Creative mode from being selected. The world-creation screen reflects the configured settings, and the mod also works on dedicated servers.
Written from Modrinth.
Difficulty Lock mostly changes the user interface and server and world logic, and its code does not connect to the internet.
Written from Modgrade's checks of its files.
None of this is harmful by itself: many mods do the same.
Creates settings files12 of 41 files
Most mods and plugins keep their options in settings files like these.
Modgrade also looked for code that connects to the internet, uses folders outside the game, starts other programs, updates itself, turns on your webcam or microphone, or contacts an AI service, and found none.
No sign it sends data in its 41 current filesThe newest release or beta for each Minecraft version and loader, from its official source..
Modgrade finds the web addresses its code can contact, but cannot see everything a mod does while it runs.
Changes the game's code in 2 areas.