Skip to content

Commit 0a104d3

Browse files
committed
Update to mc1.21.3
1 parent e4f85e8 commit 0a104d3

File tree

2 files changed

+26
-7
lines changed

2 files changed

+26
-7
lines changed

common/build.gradle

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,24 @@ plugins {
33
id("net.neoforged.moddev")
44
}
55

6+
// Vanilla depends on ASM 9.3, MDG makes that a 'strict' version constraint,
7+
// but Mixin and MixinExtras needs newer ASM so we override that here.
8+
configurations.configureEach {
9+
resolutionStrategy.eachDependency { details ->
10+
if (details.requested.group == "org.ow2.asm") {
11+
details.useVersion(asm_version)
12+
details.because("Mixin requires new ASM")
13+
}
14+
}
15+
}
16+
617
dependencies {
18+
compileOnly "org.ow2.asm:asm:${asm_version}"
19+
compileOnly "org.ow2.asm:asm-analysis:${asm_version}"
20+
compileOnly "org.ow2.asm:asm-commons:${asm_version}"
21+
compileOnly "org.ow2.asm:asm-tree:${asm_version}"
22+
compileOnly "org.ow2.asm:asm-util:${asm_version}"
23+
724
compileOnly("org.spongepowered:mixin:${mixin_version}")
825
compileOnly(annotationProcessor("io.github.llamalad7:mixinextras-common:${mixinextras_version}"))
926
}

gradle.properties

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ java_versions_fabric=>=21
2525
java_versions_neoforge=[21,)
2626

2727
# Minecraft
28-
minecraft_version=1.21
29-
minecraft_versions_fabric=>1.20.6 <1.22
30-
minecraft_versions_neoforge=(1.20.6, 1.22)
28+
minecraft_version=1.21.3
29+
minecraft_versions_fabric=>1.21.1 <1.22
30+
minecraft_versions_neoforge=(1.21.1, 1.22)
3131

3232
# Parchment https://parchmentmc.org/docs/getting-started#choose-a-version
3333
parchment_minecraft_version=1.21
@@ -36,15 +36,15 @@ parchment_version=2024.11.10
3636
# Fabric https://fabricmc.net/develop
3737
fabric_loader_version=0.16.9
3838
fabric_loader_versions=>=0.15.0
39-
fabric_api_version=0.102.0+1.21
39+
fabric_api_version=0.110.0+1.21.3
4040
fabric_api_versions=*
4141

4242
# NeoForge https://projects.neoforged.net/neoforged/neoforge
4343
neoforge_loader_versions=[1,)
44-
neoforge_version=21.0.167
45-
neoforge_versions=[21.0.143, 22)
44+
neoforge_version=21.3.57
45+
neoforge_versions=[21.2.0, 22)
4646
# NeoForm https://projects.neoforged.net/neoforged/neoform
47-
neoform_version=1.21-20240613.152323
47+
neoform_version=1.21.3-20241023.131943
4848

4949
# GitHub, Modrinth, CurseForge releases
5050
# Plural properties expect CSV lists
@@ -65,6 +65,8 @@ release_game_versions_neoforge=1.21,1.21.1
6565
mixin_version=0.8.7
6666
# MixinExtras https://github.com/LlamaLad7/MixinExtras/releases
6767
mixinextras_version=0.4.1
68+
# ASM https://mvnrepository.com/artifact/org.ow2.asm/asm
69+
asm_version=9.7
6870

6971
# Plugins
7072
# Fabric Loom https://mvnrepository.com/artifact/net.fabricmc/fabric-loom

0 commit comments

Comments
 (0)