Skip to content

Commit

Permalink
chore🚀(versions): Add some extra versions(just for compat with Carpet…
Browse files Browse the repository at this point in the history
…-AMS-Addition)
  • Loading branch information
wendavid552 committed Sep 15, 2024
1 parent f5aa974 commit d92bfa4
Show file tree
Hide file tree
Showing 8 changed files with 114 additions and 4 deletions.
14 changes: 12 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
Expand All @@ -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') {
Expand Down
2 changes: 1 addition & 1 deletion common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
7 changes: 6 additions & 1 deletion settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
19 changes: 19 additions & 0 deletions versions/1.20.3/gradle.properties
Original file line number Diff line number Diff line change
@@ -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
19 changes: 19 additions & 0 deletions versions/1.20.5/gradle.properties
Original file line number Diff line number Diff line change
@@ -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
19 changes: 19 additions & 0 deletions versions/1.20/gradle.properties
Original file line number Diff line number Diff line change
@@ -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
19 changes: 19 additions & 0 deletions versions/1.21.2/gradle.properties
Original file line number Diff line number Diff line change
@@ -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
19 changes: 19 additions & 0 deletions versions/1.21/gradle.properties
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d92bfa4

Please sign in to comment.