MonitoringMinecraft MonitoringMinecraft

Remember My Txt

Мод Fabric

Remember My Txt makes sure unrecognized values in the options.txt file get saved when changing other options, preventing things like losing keybinds when you are waiting for a mod to port to a newer version of Minecraft.

25.5к скачиваний 70 подписчиков
Оцените первым

Remember My Txt

Remember My Txt makes sure unrecognized values in the options.txt file get saved when changing other options, preventing things like losing keybinds when you are waiting for a mod to port to a newer version of Minecraft.

So what's the problem?

The way options.txt works can be found here, but can be summed up as follows:

  1. Read the file
  2. Take only the values Minecraft wants
  3. Save only the values Minecraft has

Imagine you have a custom option called key_gui.xaero_toggle_waypoints in the options file. This option, along with many others, is usually handled by Minecraft if you have the fabric mod Xaero's Minimap installed.

The problem is when you don't have the mod on for even a single launch of Minecraft, the options.txt will lose the key_gui.xaero_toggle_waypoints option, or any other options that the mod provides. This can very easily happen when you update your Minecraft to a newer version, as you might not be able get all the mods you want immediately.

So what's the solution?

The solution is very simple. All unrecognized options will simply be remembered, hence the name of the mod. The remembered options which are not already recognized by Minecraft will then be saved along with the recognized ones.

Directly after minecraft loads options.txt, it temporarily stores all the options. At this point, Remember My Txt comes in and stores all those options in memory in a seperate set of options called the "unaccepted". For every single option that Minecraft actually reads, that options gets removed from the "unaccepted" options. After this, we have a list of options which we know Minecraft will not save to the options.txt. So when Minecraft starts to save options.txt again, we can use this list of unused options and put them back in the options.txt

Usage/Legal Notes

If you want to include this in your modpack, go ahead!

If you want to implement the code into your own mod, please ask permission first.

The license is MIT, so these rules do not have legal implications by any means, however I ask that you respect them.

I was unable to find a mod which accomplishes what this mod does, so apologies if it appears that I have stolen from another developer.

Смотри также

Похожие подборки моды — по версиям Майнкрафта, загрузчикам и жанрам.

Сервера Майнкрафт

Играть интереснее на сервере — выбирай в рейтинге серверов Майнкрафт и заходи прямо сейчас.

SkyBars
SkyBars Java + BE
522 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
Battle Mine
Battle Mine Java + BE
2 онлайн
1.21.4 — 26.2 версия
ОТКРЫТИЕ! 20 + различных ивентов, 10+ различных боссов, много интересных механник
MigosMc
MigosMc Java + BE
484 онлайн
1.8 — 26.2 версия
🌿 MigosMc.net | Гриферский сервер с войс-чатом | Награды за онлайн ⭐ ВЫЖИВАНИЕ⭐ ОДИНБЛОК⭐ МИНИ-ИГРЫ
AxisMine - ВаниллаPlus
0 онлайн
1.21.4 — 26.1.2 версия
Ванильный мир с сотнями уникальных механик и справедливой игрой! /free, pat-pat, emotecraft, Voice.
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.2, 1.21.8. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат