Indexor

一款轻量级的 Fabric 模组,允许你一次性使用多种语言在创造模式物品栏中搜索物品和方块——无论游戏当前激活的语言是什么,你都可以通过输入母语来找到你想要的东西。
功能
- 双语(或多语言)搜索 —— 同时索引游戏当前语言和任何你配置的其他语言中的物品与方块名称。
- 文本规范化 —— 忽略重音和变音符号(NFKD),因此搜索 "pocion" 也能顺利找到 "poción"。
- 自动检测母语 —— 如果你使用英语 (
en_us) 进行游戏,Indexor 可以根据你的操作系统区域设置建议你的母语。
- 与创造模式物品栏和配方书搜索的原生集成 —— 其他语言的结果会与原版结果合并,且在创造模式搜索栏和配方书搜索中均无重复。
- 持久化配置 —— 保存在
config/indexor.toml (TOML 格式),并在编辑之间保留文件中的注释。
- 游戏内命令 —— 无需退出游戏即可管理额外语言并测试搜索。
命令
| 命令 |
描述 |
/indexor search <text> |
在任何已索引的语言中搜索匹配该文本的物品/方块 |
/indexor addlang <code> |
添加一种额外的语言到索引列表(例如 fr_fr) |
/indexor removelang <code> |
从额外语言列表中移除一种语言 |
/indexor list |
显示配置的额外语言以及自动检测状态 |
/indexor setnative <code> |
手动设置你的母语,覆盖自动检测 |
/indexor nativeguess <true|false> |
启用或禁用自动母语检测 |
所有语言代码都基于你加载的资源中实际可用的语言提供自动补全。
工作原理
当资源加载时,Indexor 会扫描游戏中的每一个物品和方块,并存储其翻译后的名称——经过去除重音的规范化处理——用于当前语言和每个配置的额外语言。这些信息用于拦截创造模式物品栏搜索和配方书搜索,将任何在任一索引语言中名称匹配的物品添加到原版结果中。
如果你使用英语游玩且从未设置过母语,Indexor 可以在你首次加入世界时从你的操作系统语言中为你检测母语,并通过聊天窗口发出建议(此操作仅发生一次)。
安装
- 为你的 Minecraft 版本安装 Fabric Loader。
- 将 Fabric API 添加到你的
mods/ 文件夹中。
- 下载与你版本匹配的
.jar 文件并将其放入 mods/ 目录。
- 启动 Minecraft。完成 ✅
所需依赖: Fabric API
支持版本
| Minecraft |
状态 |
| 1.20.1 – 26.2 |
✅ |
许可证
保留所有权利。本模组的源代码为私有,未公开提供。未经作者明确授权,禁止重新分发、修改或反编译。
Indexor

A lightweight Fabric mod that lets you search for items and blocks in the creative inventory in more than one language at once — no matter your game's active language, you can find what you're looking for by typing it in your native language.
Features
- Bilingual (or multilingual) search — indexes item and block names in both the game's active language and any additional languages you configure.
- Text normalization — ignores accents and diacritics (NFKD), so searching "pocion" finds "poción" without issue.
- Automatic native language detection — if you play in English (
en_us), Indexor can suggest your native language based on your OS locale.
- Native integration with creative inventory and recipe book search — results in other languages are merged with vanilla results, with no duplicates, in both the creative inventory search bar and the recipe book search.
- Persistent configuration — saved in
config/indexor.toml (TOML), preserving the file's comments between edits.
- In-game commands to manage extra languages and test searches without leaving your game.
Commands
| Command |
Description |
/indexor search <text> |
Searches for items/blocks matching the text in any of the indexed languages |
/indexor addlang <code> |
Adds an extra language to index (e.g. fr_fr) |
/indexor removelang <code> |
Removes a language from the extra language list |
/indexor list |
Shows the configured extra languages and the auto-detection status |
/indexor setnative <code> |
Manually sets your native language, overriding auto-detection |
/indexor nativeguess <true|false> |
Enables or disables automatic native language detection |
All language codes have autocompletion based on the languages actually available in your loaded resources.
How it works
When resources are loaded, Indexor scans every item and block in the game and stores their translated names — normalized without accents — for the active language and each configured extra language. This information is used to intercept both creative inventory search and recipe book search, adding to the vanilla results any item whose name matches in any of the indexed languages.
If you play in English and have never set a native language, Indexor can detect it for you from your OS language the first time you join a world, and suggest it via chat (this only happens once).
Installation
- Install Fabric Loader for your Minecraft version.
- Add Fabric API to your
mods/ folder.
- Download the
.jar matching your version and place it in mods/.
- Launch Minecraft. Done ✅
Required dependencies: Fabric API
Supported versions
| Minecraft |
Status |
| 1.20.1 – 26.2 |
✅ |
License
All rights reserved. This mod's source code is private and not publicly available. Redistribution, modification, or decompilation without the author's express authorization is prohibited.
评论 0
登录后参与评分
还没有评论,来抢沙发吧