Перейти к содержимому

ModernDifficultyLocker 1.2.0 для Minecraft 1.7.10 (Forge)

Релиз19 июля 2026Minecraft 1.7.10Forge123 скачиваний на Modrinth
Это не последняя версия. Последняя для 1.7.10 · Forge — 1.3.0Открыть 1.3.0 →

Файлы · 3

ModernDifficultyLocker-1.2.0.jarОсновной31,3 КБСкачать
Основной · 31,3 КБ
SHA-157151eac991bc1111831f6eccc3b61e800725ae2SHA-51220d3e593bcc52a49cf1c3c8df64c573944046d7d805377efb11b2b9f3c58bb58e0e4818ff8b611e4d52104c2eaaaf6e7d5c103eff1d6e3430c87f479d71121cf
Скачать
ModernDifficultyLocker-1.2.0-deobf.jarДля разработки31,5 КБСкачать
Для разработки · 31,5 КБ
SHA-1723918cecae80b6d0f20f05a85f5c5aacd9a0328SHA-5124cdfd8eed9674f9e4deef220ca10d13d1e5446d0ded6de007d2a5a313e6569e66ee9af257edba57adc81dad99673d9ad5be1b7171191f8281083de94f095ac39
Скачать
ModernDifficultyLocker-1.2.0-deobf-sources.jarИсходники19,6 КБСкачать
Исходники · 19,6 КБ
SHA-17f0a12cd37aaafaa0c2c9bbe07b74476c5d82b8eSHA-5120bb3caf7057c683821cea32e2f2c2516550f630fb4eafc7ddc5f164aeaa5cfcb305e90bf3095fe238edb93a436b8ba2cf23a2ba7b103e50e64b6fde68e307321
Скачать

Что изменилось

What' s changed.

Fixing repeated creation of SaveHandler covering session.lock causing save interruptions, and adding persistent per-save difficulty for unlocked archives.

Root cause: Multiple calls to getActiveAnvilConverter().getSaveLoader(name, false) create new SaveHandler for running worlds, whose constructor setSessionLock() overwrites the archive's session.lock. Subsequently, saveLevel()'s checkSessionLock() throws exceptions due to timestamp mismatch and aborts saving, causing two symptoms:

  • Archive list sorting degrades to 'creation order' (LastPlayed cannot be updated, should normally be 'recent play priority');
  • Difficulty of unlocked archives resets to default (normal) upon exiting and re-entering. These are two manifestations of the same root cause 'save interrupted'.

Fix: Change all 8 calls to create new SaveHandler to reuse the running world's server.worldServers[0].getSaveHandler() (all with worldServers null protection):

  • MixinIntegratedServer: loadAllWorlds(hardcore) and initiateShutdown are changed to reuse; startServer keeps difficulty loading deferred until loadAllWorlds completes;
  • MixinGuiOptions: hardcore auto-lock, lock confirmation, unlock confirmation are refactored to reuse via @unique helper method;
  • DifficultyLocker.onServerStarting is changed to reuse;
  • GuiWorldSettings.saveWorldData is changed to reuse.

New addition: WorldDifficultyData adds a currentDifficulty snapshot field (stored in difficultylocker.dat). On exit, record the current world difficulty; on loading, restore it, so unlocked worlds retain independent difficulty per save like 1.8+; New worlds without records do not override game default difficulty. Old archives without this key are handled as -1 for backward compatibility.

Full Changelog: https://github.com/song682/ModernDifficultyLocker/compare/v1.1.0...v1.2.0

Зависимости этой версии

ghjoiQAlобязательная для 1.7.10Мод на Modrinth ↗
CreateWorldUIнеобязательная · 7.0.0Скачать для 1.7.10 · Forge

Сайт использует cookie: необходимые — для входа и темы, а также счётчики посещений Яндекс Метрика и LiveInternet — по ним мы видим, как пользуются сайтом. Рекламных cookie у нас нет. Подробнее