diff options
-rw-r--r-- | build.gradle | 8 | ||||
-rw-r--r-- | gradle.properties | 13 | ||||
-rw-r--r-- | src/main/resources/assets/citresewn/lang/zh_cn.json | 26 |
3 files changed, 38 insertions, 9 deletions
diff --git a/build.gradle b/build.gradle index 2417fee..f4c6c70 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,7 @@ import java.nio.file.Files plugins { id 'fabric-loom' version '0.12-SNAPSHOT' apply false - id 'io.shcm.shsupercm.fabric.fletchingtable' version '1.4' apply false + id 'io.shcm.shsupercm.fabric.fletchingtable' version '1.5' apply false id 'com.modrinth.minotaur' version '2.+' apply false id 'com.matthewprenger.cursegradle' version '1.4.0' apply false } @@ -25,6 +25,8 @@ allprojects { mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2" modImplementation "net.fabricmc:fabric-loader:${project.loader_version}" + fletchingTable.fungible "1.2+mc1.19.2" + modImplementation fabricApi.module("fabric-api-base", "${project.fabric_api}") modImplementation fabricApi.module("fabric-resource-loader-v0", "${project.fabric_api}") modImplementation fabricApi.module("fabric-command-api-v2", "${project.fabric_api}") @@ -100,7 +102,7 @@ modrinth { versionNumber = version versionName = "v" + version additionalFiles = [ sourcesJar.outputs.getFiles().singleFile ] - gameVersions = ["1.19"] + gameVersions = ["1.19", "1.19", "1.19.2"] } curseforge { @@ -115,6 +117,8 @@ curseforge { } addGameVersion 'Fabric' addGameVersion '1.19' + addGameVersion '1.19.1' + addGameVersion '1.19.2' } options { forgeGradleIntegration = false diff --git a/gradle.properties b/gradle.properties index 95a6f5f..871fd33 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,14 +3,13 @@ org.gradle.jvmargs=-Xmx1G # Fabric Properties # check these on https://modmuss50.me/fabric.html -minecraft_version=1.19 -minecraft_version_compat=1.19.x -yarn_mappings=1.19+build.1 -loader_version=0.14.7 +minecraft_version=1.19.2 +yarn_mappings=1.19.2+build.8 +loader_version=0.14.9 -fabric_api=0.55.3+1.19 -modmenu=4.0.0 -cloth=7.0.69 +fabric_api=0.60.0+1.19.2 +modmenu=4.0.6 +cloth=8.0.75 # Mod Properties mod_version=1.1.1 diff --git a/src/main/resources/assets/citresewn/lang/zh_cn.json b/src/main/resources/assets/citresewn/lang/zh_cn.json new file mode 100644 index 0000000..99846af --- /dev/null +++ b/src/main/resources/assets/citresewn/lang/zh_cn.json @@ -0,0 +1,26 @@ +{ + "config.citresewn.title": "CIT Resewn配置", + "config.citresewn.configure": "配置", + + "config.citresewn.enabled.title": "启用", + "config.citresewn.enabled.tooltip": "CIT Resewn是否应该从资源包中加载和注入cits", + + "config.citresewn.mute_errors.title": "不记录加载错误", + "config.citresewn.mute_errors.tooltip": "CIT Resewn是否应该不记录cit错误", + + "config.citresewn.mute_warns.title": "不记录加载警告", + "config.citresewn.mute_warns.tooltip": "CIT Resewn 是否应该不记录cit警告", + + "config.citresewn.broken_paths.title": "允许资源包中的损坏路径", + "config.citresewn.broken_paths.tooltip": "允许加载具有不合规资源路径的资源包.\n可能会导致问题!", + + "config.citresewn.cache_ms.title": "缓存", + "config.citresewn.cache_ms.tooltip": "cit缓存应该多久刷新一次.\n更高的值将提供更多的性能.\n较低的值将使cits更新更快.\n实时将完全删除缓存,\n让物品每一帧都检查cits.", + "config.citresewn.cache_ms.ticks.0": "实时", + "config.citresewn.cache_ms.ticks.1": "每一个TICK", + "config.citresewn.cache_ms.ticks.any": "每%sTICKS", + + + "pack.incompatible.broken_paths": "(包含损坏的路径)", + "pack.incompatible.confirm.broken_paths": "此资源包包含损坏的路径,将来可能会被放弃支持.联系资源包作者以移除此警告. (~ CIT Resewn)" +} |