From d92bfa421d0bc5f77168fe24cf2a8f05d7588431 Mon Sep 17 00:00:00 2001 From: wendavid552 Date: Sun, 15 Sep 2024 17:53:27 +0800 Subject: [PATCH] =?UTF-8?q?chore=F0=9F=9A=80(versions):=20Add=20some=20ext?= =?UTF-8?q?ra=20versions(just=20for=20compat=20with=20Carpet-AMS-Addition)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 14 ++++++++++++-- common.gradle | 2 +- settings.json | 7 ++++++- versions/1.20.3/gradle.properties | 19 +++++++++++++++++++ versions/1.20.5/gradle.properties | 19 +++++++++++++++++++ versions/1.20/gradle.properties | 19 +++++++++++++++++++ versions/1.21.2/gradle.properties | 19 +++++++++++++++++++ versions/1.21/gradle.properties | 19 +++++++++++++++++++ 8 files changed, 114 insertions(+), 4 deletions(-) create mode 100644 versions/1.20.3/gradle.properties create mode 100644 versions/1.20.5/gradle.properties create mode 100644 versions/1.20/gradle.properties create mode 100644 versions/1.21.2/gradle.properties create mode 100644 versions/1.21/gradle.properties diff --git a/build.gradle b/build.gradle index 9fdb0b8..177c0a8 100644 --- a/build.gradle +++ b/build.gradle @@ -18,11 +18,16 @@ preprocess { def mc117 = createNode('1.17.1', 1_17_01, '') def mc118 = createNode('1.18.2', 1_18_02, '') def mc119 = createNode('1.19.4', 1_19_04, '') + def mc120 = createNode('1.20', 1_20, '') def mc1201 = createNode('1.20.1', 1_20_01, '') def mc1202 = createNode('1.20.2', 1_20_02, '') + def mc1203 = createNode('1.20.3', 1_20_03, '') def mc1204 = createNode('1.20.4', 1_20_04, '') + def mc1205 = createNode('1.20.5', 1_20_05, '') def mc1206 = createNode('1.20.6', 1_20_06, '') - def mc121 = createNode('1.21.1', 1_21_01, '') + def mc121 = createNode('1.21', 1_21, '') + def mc1211 = createNode('1.21.1', 1_21_01, '') + def mc1212 = createNode('1.21.2', 1_21_02, '') mc115 .link(mc114 , file('versions/mapping-1.15-1.14.txt')) mc115 .link(mc116 , file('versions/mapping-1.15-1.16.txt')) @@ -31,9 +36,14 @@ preprocess { mc118 .link(mc119 , file('versions/mapping-1.18-1.19.txt')) mc119 .link(mc1201, file('versions/mapping-1.19-1.20.1.txt')) mc1201.link(mc1202, file('versions/mapping-1.20.1-1.20.2.txt')) + mc1201.link(mc120 , null) mc1202.link(mc1204, file('versions/mapping-1.20.2-1.20.4.txt')) mc1204.link(mc1206, file('versions/mapping-1.20.4-1.20.6.txt')) - mc1206.link(mc121 , file('versions/mapping-1.20.6-1.21.1.txt')) + mc1204.link(mc1203, null) + mc1206.link(mc1211 , file('versions/mapping-1.20.6-1.21.1.txt')) + mc1206.link(mc1205, null) + mc1211.link(mc121 , null) + mc1211.link(mc1212, null) } tasks.register('buildAndGather') { diff --git a/common.gradle b/common.gradle index 1767978..a804104 100644 --- a/common.gradle +++ b/common.gradle @@ -58,7 +58,7 @@ dependencies { include(modImplementation("me.fallenbreath:conditional-mixin-fabric:${project.conditionalmixin_version}")) include(annotationProcessor(implementation("io.github.llamalad7:mixinextras-fabric:${project.mixinextras_version}"))) - include(implementation(annotationProcessor("com.bawnorton.mixinsquared:mixinsquared-fabric:${project.mixinsquared_version}"))) + include(annotationProcessor(implementation("com.bawnorton.mixinsquared:mixinsquared-fabric:${project.mixinsquared_version}"))) } String MIXIN_CONFIG_PATH = 'carpetpatcher.mixins.json' diff --git a/settings.json b/settings.json index e5df3a1..0e897a5 100644 --- a/settings.json +++ b/settings.json @@ -6,10 +6,15 @@ "1.17.1", "1.18.2", "1.19.4", + "1.20", "1.20.1", "1.20.2", + "1.20.3", "1.20.4", + "1.20.5", "1.20.6", - "1.21.1" + "1.21", + "1.21.1", + "1.21.2" ] } \ No newline at end of file diff --git a/versions/1.20.3/gradle.properties b/versions/1.20.3/gradle.properties new file mode 100644 index 0000000..d98f899 --- /dev/null +++ b/versions/1.20.3/gradle.properties @@ -0,0 +1,19 @@ +# Fabric Properties + # check these on https://fallen-breath.github.io/fabric-versions/?&version=1.20.4 + minecraft_version=1.20.4 + yarn_mappings=1.20.4+build.1 + +# Fabric Mod Metadata + carpet_dependency=>=1.4.128 + minecraft_dependency=>=1.20.3 1.20.x + lithium_confliction=<=0.11.0 + +# Build Information + # The target mc versions for the mod during mod publishing, separated with \n + game_versions=1.20.3\n1.20.4 + +# Mod Dependency + # check available versions on maven for the given minecraft version you are using + # https://masa.dy.fi/maven/carpet/fabric-carpet/ + carpet_core_version=1.20.3-1.4.128+v231205 + fabric_api_version=0.97.2+1.20.4 diff --git a/versions/1.20.5/gradle.properties b/versions/1.20.5/gradle.properties new file mode 100644 index 0000000..f7d64ca --- /dev/null +++ b/versions/1.20.5/gradle.properties @@ -0,0 +1,19 @@ +# Fabric Properties + # check these on https://fallen-breath.github.io/fabric-versions/?&version=1.20.6 + minecraft_version=1.20.6 + yarn_mappings=1.20.6+build.3 + +# Fabric Mod Metadata + carpet_dependency=>=1.4.140 + minecraft_dependency=>=1.20.5 1.20.x + lithium_confliction=<=0.11.0 + +# Build Information + # The target mc versions for the mod during mod publishing, separated with \n + game_versions=1.20.5\n1.20.6 + +# Mod Dependency + # check available versions on maven for the given minecraft version you are using + # https://masa.dy.fi/maven/carpet/fabric-carpet/ + carpet_core_version=1.20.6-1.4.141+v240429 + fabric_api_version=0.100.4+1.20.6 \ No newline at end of file diff --git a/versions/1.20/gradle.properties b/versions/1.20/gradle.properties new file mode 100644 index 0000000..7ec6b7a --- /dev/null +++ b/versions/1.20/gradle.properties @@ -0,0 +1,19 @@ +# Fabric Properties + # check these on https://fallen-breath.github.io/fabric-versions/?&version=1.20.1 + minecraft_version=1.20.1 + yarn_mappings=1.20.1+build.2 + +# Fabric Mod Metadata + carpet_dependency=>=1.4.112 + minecraft_dependency=1.20.x + lithium_confliction=<=0.11.0 + +# Build Information + # The target mc versions for the mod during mod publishing, separated with \n + game_versions=1.20\n1.20.1 + +# Mod Dependency + # check available versions on maven for the given minecraft version you are using + # https://masa.dy.fi/maven/carpet/fabric-carpet/ + carpet_core_version=1.20-1.4.112+v230608 + fabric_api_version=0.92.2+1.20.1 diff --git a/versions/1.21.2/gradle.properties b/versions/1.21.2/gradle.properties new file mode 100644 index 0000000..ad45a75 --- /dev/null +++ b/versions/1.21.2/gradle.properties @@ -0,0 +1,19 @@ +# Fabric Properties + # check these on https://fallen-breath.github.io/fabric-versions/ + minecraft_version=1.21.1 + yarn_mappings=1.21.1+build.3 + +# Fabric Mod Metadata + carpet_dependency=>=1.4.147 + minecraft_dependency=>=1.21 1.21.x + lithium_confliction=<0.13.0 + +# Build Information + # The target mc versions for the mod during mod publishing, separated with \n + game_versions=1.21\n1.21.1 + +# Mod Dependency + # check available versions on maven for the given minecraft version you are using + # https://masa.dy.fi/maven/carpet/fabric-carpet/ + carpet_core_version=1.21-1.4.147+v240613 + fabric_api_version=0.102.1+1.21.1 \ No newline at end of file diff --git a/versions/1.21/gradle.properties b/versions/1.21/gradle.properties new file mode 100644 index 0000000..ad45a75 --- /dev/null +++ b/versions/1.21/gradle.properties @@ -0,0 +1,19 @@ +# Fabric Properties + # check these on https://fallen-breath.github.io/fabric-versions/ + minecraft_version=1.21.1 + yarn_mappings=1.21.1+build.3 + +# Fabric Mod Metadata + carpet_dependency=>=1.4.147 + minecraft_dependency=>=1.21 1.21.x + lithium_confliction=<0.13.0 + +# Build Information + # The target mc versions for the mod during mod publishing, separated with \n + game_versions=1.21\n1.21.1 + +# Mod Dependency + # check available versions on maven for the given minecraft version you are using + # https://masa.dy.fi/maven/carpet/fabric-carpet/ + carpet_core_version=1.21-1.4.147+v240613 + fabric_api_version=0.102.1+1.21.1 \ No newline at end of file