Skip to content

Minecraft 1.21.1用Quests Lang Splitter MOD

このMODはバージョン管理を改善するためにlangファイルを分割する機能を追加し、いくつかのユーティリティコマンドも追加します。

閲覧
6 閲覧
更新日
更新日 18.10.2026

FTB Quests Lang Splitter

📰 はじめに

このMODは、バージョン管理を改善するためにlangファイルを分割する機能を追加し、さらにいくつかのユーティリティコマンドも追加します。

📦 インストール

MODはCurseForgeで入手できます。

🔧 機能

👨‍💻 コマンド

  • split

langファイルをそれぞれのカテゴリタイプに分割し、クエスト、タスク、クエストリンクについてはチャプターごとにグループ化します。

lang/ ├─ enus/ │ ├─ chapters/ │ │ ├─ chapter1.snbt Contains quest, task and quest links ids │ │ ├─ chapter2.snbt │ │ └─ chapter3.snbt │ ├─ chapter.snbt Chapter names │ ├─ chaptergroup.snbt Chapter group names │ ├─ file.snbt Quest book name │ └─ rewardtable.snbt Reward table names └─ enus.snbt Original file, it updates from split files when loaded/reloaded

replaceunmerged: boolean (you mostly want to use false, unless you know you want to overwrite the previously generated and non-merged split files)

locale: locale code (ie: ptbr, zhch, kokr)

/langsplitter split <replaceunmerged> [<locale>] If you don't provide a locale it will split every lang available.

  • fillmissingtranslation

Fills missing lang entries based on enus locale and runs the split. Note: You can check at debug.log all the new entries that was added.

/langsplitter fillmissingtranslation <replaceunmerged> <locale>

  • purgemerged

When you load or reload the quest and there are available split files to be read, they are merged into the original file and after that renamed to .snbtmerged. You can use this command to purge them from the folder if you don't like seeing those.

/langsplitter purgemerged

Usage

  • Setup your .gitignore:

FTB Quests Lang Splitter ignore original lang files like enus.snbt config/ftbquests/quests/lang/.snbt ignore recovery files config/ftbquests/quests/lang/recovery/.snbt ignore already merged files config/ftbquests/quests/lang//.snbtmerged

For translators:

  • start with the fillmissingtranslation command to generate the files containing all entries.
  • translate what you need
  • run /ftbquests reload to merge your changes
  • now your files will be renamed to .snbtmerged
  • if you still need to do more changes you can either:
  • run split command again to generate the file
  • or edit the now .snbtmerged and after done, rename back to .snbt
  • and now reload again to merge new changes
  • if everything is ready to be commited, just run split one last time and PR the relevant files (run purgemerged if they are on the way, but a proper .gitignore should deal with it).

For maintainers:

  • update the .gitignore from your repo
  • now the /lang/ folder should only contain locale folders, not files anymore.
  • to generate those starting files run split command and commit the files.
  • after the folders are set, now you can remove the original locale .snbt file (those are auto-generated now when merged from split files at runtime)
  • for now on, only accept PRs/commits that are from split files.

About the recovery folder:

  • when files are merged and they replace an existing entry like when you translate again an entry, it will backup that entry at folder recovery containing the following:
  • a file with name like enus<timestamp>.snbt will be generated (ie: enus1755120819.snbt)

{ "chapters/basicarmor.snbt": { quest.004D61425172324F.questsubtitle: { new: "This is my new subtitle" old: "This is the old subtitle" } } }

📝 ライセンス

This project is licensed under the MIT License.

📬 連絡先

You can reach me on All The Mods Discord with @Uncandango, you can also open your issue on Github or comment on the mod comment's section on CurseForge.

👍 スポンサー

YourKit supports open source projects with innovative and intelligent tools for monitoring and profiling Java and .NET applications. YourKit is the creator of YourKit Java Profiler, YourKit .NET Profiler, and YourKit YouMonitor.

Quests Lang Splitterのインストール方法

With Millida Launcher

  1. Install Millida Launcher

    The launcher is free: download it at millida.net/launcher and sign in with any nickname.

  2. Click “Install” on this page

    The launcher opens and installs the mod for Minecraft 1.21.1 on NeoForge automatically.

  3. Launch the game

    A profile with it appears in the launcher: click “Play”.

Manually

  1. Install NeoForge

    The loader must match the game version of the mod file, for example Minecraft 1.21.1. After installing it, a separate profile appears in your launcher.

  2. Download the file for your version

    In the version list above, pick the file ftbquestslangsplitter-1.0.7.jar (197 KB) for your game version.

  3. Put it in the mods folder

    The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.

  4. Launch the loader profile

    Open “Mods” in the main menu: Quests Lang Splitter should be in the list.

Minecraft 1.21.1 runs on Java 21: with a different Java version the game may close right after launch.

バージョン

依存関係あり

Minecraftローダーファイル日付操作
1.21.1NeoForgeftbquestslangsplitter-1.0.7.jar197 KB

レビュー

Quests Lang Splitterの最初の評価を書きませんか

コメント 0

コメントするにはサインインしてくださいログイン

類似のMOD

すべてのMOD

この項目の詳細