Skip to content

Commit

Permalink
feat: 1.20.5
Browse files Browse the repository at this point in the history
  • Loading branch information
xfl03 committed Apr 24, 2024
1 parent c2bbcf1 commit c63cd41
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 8 deletions.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# 自动汉化更新模组Ⅲ

[![Version](https://img.shields.io/github/v/release/CFPAOrg/I18nUpdateMod3?label=&logo=V&labelColor=E1F5FE&color=5D87BF&style=for-the-badge)](https://github.com/CFPAOrg/I18nUpdateMod3/tags)
[![CurseForge](https://cf.way2muchnoise.eu/short_I18nUpdateMod.svg?badge_style=for_the_badge)](https://www.curseforge.com/minecraft/mc-mods/i18nupdatemod)
[![Modrinth](https://img.shields.io/modrinth/dt/PWERr14M?label=&logo=Modrinth&labelColor=white&color=00AF5C&style=for-the-badge)](https://modrinth.com/mod/i18nupdatemod)
Expand All @@ -14,19 +15,29 @@
本Mod用于自动下载、更新、应用「简体中文资源包」。

## 下载

- [CurseForge](https://www.curseforge.com/minecraft/mc-mods/i18nupdatemod)
- [Modrinth](https://modrinth.com/mod/i18nupdatemod)

## 支持的版本
- Minecraft:1.6.1~1.20.4 都支持

- Minecraft:1.6.1~1.20.5 都支持
- Mod加载器:MinecraftForge、NeoForge、Fabric、Quilt 都支持
- Java:8~21 都支持

仅仅需要在mods文件夹中放置本Mod的jar文件即可,Mod本身与各主流Minecraft版本、Mod Loader、Java版本均兼容,Mod本身不需要进行任何版本隔离。

## 支持的「简体中文资源包」

为了尽可能实用,目前本Mod会根据游戏版本自动下载、合并、转换「简体中文资源包」。

- 官方资源:1.10.2、1.12.2、1.16、1.18、1.19、1.20
- 合并转换:会合并加转换最近版本的一些资源包,尽可能做最大化的支持
- 特别说明:1.13开始将语言文件变化为json格式,所以不能将1.12.2的资源包用于1.13以上,反之同理
- 特别说明:1.13开始将语言文件变化为json格式,所以不能将1.12.2的资源包用于1.13以上,反之同理

## 开发环境

请使用Java 8及以上的JDK构建。
```shell
gradle clean build
```
10 changes: 5 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,17 @@ configurations.configureEach {
}

dependencies {
testImplementation("org.junit.jupiter:junit-jupiter-api:5.10.0")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.10.0")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.10.2")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.10.2")
implementation("net.runelite.archive-patcher:archive-patcher-applier:1.2")
compileOnly("org.jetbrains:annotations:24.0.1")
compileOnly("org.jetbrains:annotations:24.1.0")

implementation("net.fabricmc:fabric-loader:0.14.22")
implementation("cpw.mods:modlauncher:8.1.3")
implementation("net.minecraft:launchwrapper:1.12")

implementation("commons-io:commons-io:2.14.0")
implementation("org.ow2.asm:asm:9.6")
implementation("commons-io:commons-io:2.16.1")
implementation("org.ow2.asm:asm:9.7")
implementation("com.google.code.gson:gson:2.10.1")

}
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
9 changes: 9 additions & 0 deletions src/main/resources/i18nMetaData.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,15 @@
"1.19",
"1.18"
]
},
{
"gameVersions": "[1.20.5,1.20.5]",
"packFormat": 32,
"convertFrom": [
"1.20",
"1.19",
"1.18"
]
}
],
"assets": [
Expand Down

0 comments on commit c63cd41

Please sign in to comment.