Skip to content

Commit be08524

Browse files
committed
Bump mc version to 1.21.4 & refactor build and NeoForge config
- Updated build tasks for Fabric and NeoForge. - Modified `gradle.properties` and `neoforge.mods.toml` for mod configuration. - Adjusted NeoForge Java code and dependencies.
1 parent e582262 commit be08524

5 files changed

Lines changed: 16 additions & 16 deletions

File tree

build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ subprojects {
4848
"archives_name" : archives_name,
4949

5050
"minecraft_version" : minecraft_version,
51-
"yarn_mappings" : yarn_mappings,
5251

5352
"fabric_loader_version" : fabric_loader_version,
5453
"fabric_api_version" : fabric_api_version,

common/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ version = project.mod_version // Set version from root project
1414

1515
dependencies {
1616
minecraft "com.mojang:minecraft:${minecraft_version}"
17-
// mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
1817
mappings loom.officialMojangMappings()
1918

2019
compileOnly "org.spongepowered:mixin:0.8.5:processor"

fabric/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,9 @@ dependencies {
2222

2323
mappings loom.layered {
2424
officialMojangMappings()
25-
parchment("org.parchmentmc.data:parchment-${parchment_minecraft}:${parchment_version}@zip")
25+
parchment("org.parchmentmc.data:parchment-${minecraft_version}:${parchment_version}@zip")
2626
}
2727

28-
2928
modImplementation "net.fabricmc:fabric-loader:${fabric_loader_version}"
3029
modImplementation "net.fabricmc.fabric-api:fabric-api:${fabric_api_version}"
3130

gradle.properties

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,25 @@ archives_name = timeloop
1717
enabled_platforms = fabric,neoforge
1818

1919
# Minecraft properties
20-
minecraft_version = 1.21.1
21-
yarn_mappings = 1.21.1+build.1
20+
minecraft_version = 1.21.4
2221

23-
# Dependencies
22+
# Loaders
23+
# https://github.com/FabricMC/fabric-loader/releases
24+
# https://modrinth.com/mod/fabric-api/versions?c=release
25+
# https://projects.neoforged.net/neoforged/neoforge
2426
fabric_loader_version = 0.16.14
25-
fabric_api_version = 0.115.6+1.21.1
26-
neoforge_version = 21.1.145
27-
yarn_mappings_patch_neoforge_version = 1.21+build.4
28-
29-
fabric_loom_version=1.10-SNAPSHOT
30-
neoforge_moddev_version=2.0.80
27+
fabric_api_version = 0.119.2+1.21.4
28+
neoforge_version = 21.4.135
3129

3230
# Mappings
3331
# https://parchmentmc.org/docs/getting-started
34-
parchment_minecraft=1.21.1
35-
parchment_version=2024.11.17
32+
parchment_version=2025.03.23
33+
34+
# Gradle dependencies
35+
# https://github.com/FabricMC/fabric-loom/releases
36+
# https://projects.neoforged.net/neoforged/ModDevGradle
37+
fabric_loom_version=1.10-SNAPSHOT
38+
neoforge_moddev_version=2.0.81
3639

3740
# Gradle configuration
3841
org.gradle.jvmargs=-Xmx3G

neoforge/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ version = project.mod_version
1313
neoForge {
1414
version = neoforge_version
1515
parchment {
16-
minecraftVersion = parchment_minecraft
16+
minecraftVersion = minecraft_version
1717
mappingsVersion = parchment_version
1818
}
1919

0 commit comments

Comments
 (0)