Minecraft模组汉化包更新器
Project description
Minecraft模组汉化包更新器 (i18n-updater-cn)
这个Python软件包是I18nUpdateMod的Python实现版本,用于自动下载、合并和转换由CFPAOrg团队维护的Minecraft模组汉化包。
汉化资源包使用Minecraft Mod Language Package项目中的文件,适用于各种Minecraft版本。
安装
使用pip安装:
pip install i18n-updater-cn
使用方法
命令行使用
基本用法(将弹出对话框让您选择保存位置):
i18n-updater-cn 1.20.4
指定Mod加载器:
i18n-updater-cn 1.18.2 --loader Fabric
直接指定输出目录:
i18n-updater-cn 1.16.5 --output D:/Downloads
查看完整帮助:
i18n-updater-cn --help
作为Python库使用
您也可以在自己的Python项目中导入并使用这个库:
from i18n_updater_cn import download_or_convert_language_pack
# 下载并转换汉化包
result = download_or_convert_language_pack(
minecraft_version="1.20.4",
loader="Forge",
output_dir="D:/Downloads",
debug=True
)
# 检查结果
if result["success"]:
print(f"汉化包已保存到: {result['output_file']}")
else:
print(f"下载失败: {result['error']}")
支持的版本
- Minecraft: 1.6.1 ~ 1.21.5 所有版本
- Mod加载器: Forge、NeoForge、Fabric、Quilt
- Python: 3.6 及以上版本
相关项目
- I18nUpdateMod3 - 本项目的Java版本原型
- Minecraft-Mod-Language-Package - 中文汉化资源包项目
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file i18n_updater_cn-1.0.1.tar.gz.
File metadata
- Download URL: i18n_updater_cn-1.0.1.tar.gz
- Upload date:
- Size: 25.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ba7632df9bdf2293c34209b78ef01ab21954a90973af63410adc1cf34a5f292
|
|
| MD5 |
4ab28de047bb8e54a0e486bec2727206
|
|
| BLAKE2b-256 |
1cdfa44bf2de1ba9533798965d31b97ea7d3befa1fab734c1852fd217d27bf8c
|
Provenance
The following attestation bundles were made for i18n_updater_cn-1.0.1.tar.gz:
Publisher:
publish-to-pypi.yml on kressety/I18nUpdatePython
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
i18n_updater_cn-1.0.1.tar.gz -
Subject digest:
9ba7632df9bdf2293c34209b78ef01ab21954a90973af63410adc1cf34a5f292 - Sigstore transparency entry: 206576826
- Sigstore integration time:
-
Permalink:
kressety/I18nUpdatePython@de91d75367ec4c3e6a9ae364d53109627ca2fa4e -
Branch / Tag:
refs/heads/main - Owner: https://github.com/kressety
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@de91d75367ec4c3e6a9ae364d53109627ca2fa4e -
Trigger Event:
push
-
Statement type:
File details
Details for the file i18n_updater_cn-1.0.1-py3-none-any.whl.
File metadata
- Download URL: i18n_updater_cn-1.0.1-py3-none-any.whl
- Upload date:
- Size: 27.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d236c94dad0d79e75e0db4ee17d623e17b2ce5b6966d7010e0e2306ad3f6f82
|
|
| MD5 |
2e0ec6e0b1bfc173ea88bec53ab9969b
|
|
| BLAKE2b-256 |
60fb6ec6e77792b61e067dcc08a18903f6543520f9063324bcc553a0c6b3032a
|
Provenance
The following attestation bundles were made for i18n_updater_cn-1.0.1-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on kressety/I18nUpdatePython
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
i18n_updater_cn-1.0.1-py3-none-any.whl -
Subject digest:
4d236c94dad0d79e75e0db4ee17d623e17b2ce5b6966d7010e0e2306ad3f6f82 - Sigstore transparency entry: 206576827
- Sigstore integration time:
-
Permalink:
kressety/I18nUpdatePython@de91d75367ec4c3e6a9ae364d53109627ca2fa4e -
Branch / Tag:
refs/heads/main - Owner: https://github.com/kressety
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@de91d75367ec4c3e6a9ae364d53109627ca2fa4e -
Trigger Event:
push
-
Statement type: