Texture Locale Redirector
Texture Locale Redirector 为 Minecraft 资源包添加了原生的多语言纹理支持。
通过扩展原版资源加载机制,此模组允许你在单个资源包中提供特定语言的纹理。
它解决了因一种语言包含本地化纹理(含文本或符号)而可能影响其他语言玩家体验的问题。
使用方法
只需按照以下三个简单步骤即可启用多语言纹理:
- 安装模组:将此模组放入你的
mods文件夹中。 - 创建资源包:根据所需的文件夹结构组织你的本地化纹理。
- 启动游戏:启用该资源包,并在 Minecraft 中切换到相应的语言。
资源包结构示例
在你的资源包内部,将本地化纹理存储在 assets/<namespace>/textures/<language>/ 下。
<namespace>是命名空间——原版为minecraft,模组则为模组 ID。<language>是语言代码,例如zh_cn(简体中文)或ja_jp(日语)。
注意: 要替换的纹理的相对路径必须与原始纹理路径匹配。
ResourcePackName/
└── assets/
└── minecraft (namespace)/
└── textures/
├── zh_cn/ # 简体中文纹理
│ ├── block/
│ │ └── dirt.png # 替换后的泥土纹理
│ └── item/
│ └── diamond_sword.png # 替换后的钻石剑纹理
└── ja_jp/ # 日语纹理
└── item/
└── diamond_sword.png # 替换后的钻石剑纹理
性能
本模组经过高度优化,对性能的影响几乎可以忽略不计:
- 仅在当前语言不是
en_us时生效,即对英文玩家无影响。 - 实现了高级缓存系统,大幅减少不必要的磁盘 I/O。
- 在语言切换或资源重载时清除缓存,确保纹理立即更新。
- 当系统内存不足时自动释放缓存内存,以防止卡顿。
- 如果资源包没有特定语言的纹理文件夹,则不会执行替换扫描——避免不必要的工作。
- 不会干扰其他资源包的正常运行。
许可证
本项目基于 MIT License 开源。
欢迎贡献和提交 PR!如有 Bug 报告或功能请求,请随时提交 Issue。
Texture Locale Redirector
Texture Locale Redirector adds native multi-language texture support to Minecraft resource packs.
By extending vanilla resource loading mechanism, this mod allows you to provide language-specific textures within a single resource pack.
It solves the problem where localized textures (with text or symbols) for one language may negatively affect players in other languages.
Usage
Follow these three simple steps to enable multi-language textures:
- Install the mod: Place this mod in your
modsfolder. - Create a resource pack: Organize your localized textures according to the required folder structure.
- Start the game: Enable the resource pack and switch to the corresponding language in Minecraft.
Resource Pack Structure Example
Inside your resource pack, store localized textures under assets/<namespace>/textures/<language>/.
<namespace>is the namespace —minecraftfor vanilla, or the modid for mods.<language>is the language code, such aszh_cn(Simplified Chinese) orja_jp(Japanese).
Note: The relative path of the texture to be replaced must match the original texture path.
ResourcePackName/
└── assets/
└── minecraft (namespace)/
└── textures/
├── zh_cn/ # Simplified Chinese textures
│ ├── block/
│ │ └── dirt.png # Replaced dirt texture
│ └── item/
│ └── diamond_sword.png # Replaced diamond sword texture
└── ja_jp/ # Japanese textures
└── item/
└── diamond_sword.png # Replaced diamond sword texture
Performance
This mod is heavily optimized and should have negligible performance impact:
- Works only when the current language is not
en_us, meaning no effect for English players. - Implements an advanced caching system to drastically reduce unnecessary disk I/O.
- Clears cache upon language change or resource reload, ensuring textures are updated immediately.
- Automatically releases cache memory when system memory is low to prevent lag.
- If a resource pack has no language-specific texture folder, no replacement scan is performed — avoiding unnecessary work.
- Does not interfere with the normal operation of other resource packs.
License
This project is open-sourced under the MIT License.
Contributions and PRs are welcome! Feel free to submit issues for bug reports or feature requests.
下载 Texture Locale Redirector
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Texture Locale Redirector
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Texture Locale Redirector
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Texture Locale Redirector
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Texture Locale Redirector
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Texture Locale Redirector
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Texture Locale Redirector
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Texture Locale Redirector
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Texture Locale Redirector
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Texture Locale Redirector
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
修复
- 部分版本下替换功能异常
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧