Skip to content

Commit

Permalink
1.21.3 forge
Browse files Browse the repository at this point in the history
  • Loading branch information
DeDiamondPro committed Nov 7, 2024
1 parent 4ba14a1 commit f283796
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ val shade: Configuration by configurations.creating {
dependencies {
val elementaPlatform: String? by project
val universalPlatform: String? by project
val universalVersion = if (platform.isNeoForge || (platform.isForge && platform.mcVersion == 12101))
val universalVersion = if (platform.isNeoForge || (platform.isForge && platform.mcVersion >= 12101))
"363+diamond.neoforge" else libs.versions.universal.get()
if (platform.isFabric) {
val fabricApiVersion: String by project
Expand Down
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
## Resourcify 1.5.1

- Added support for 1.21.3 neoforge and forge! (Note: at the time of writing kotlin for forge does not have a version
marked as compatible for 1.21.3, but **kotlin for forge 5.6.0 seems to work for 1.21.3**)
- Fixed a crash when opening the changelog of a project in the update screen
- Fixed a crash caused by a project having an invalid image URL

Expand Down
2 changes: 2 additions & 0 deletions root.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ preprocess {
val forge12001 = createNode("1.20.1-forge", 12001, "srg")
val forge12004 = createNode("1.20.4-forge", 12004, "srg")
val forge12101 = createNode("1.21.1-forge", 12101, "srg")
val forge12103 = createNode("1.21.3-forge", 12103, "srg")

val neoforge12004 = createNode("1.20.4-neoforge", 12004, "srg")
val neoforge12006 = createNode("1.20.6-neoforge", 12006, "srg")
Expand All @@ -56,6 +57,7 @@ preprocess {
forge12001.link(fabric12001)
forge12004.link(forge12001)
forge12101.link(fabric12101)
forge12103.link(fabric12103)

neoforge12004.link(forge12004)
neoforge12006.link(fabric12006)
Expand Down
1 change: 1 addition & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ listOf(
"1.21.1-forge",
"1.21.1-neoforge",
"1.21.1-fabric",
"1.21.3-forge",
"1.21.3-neoforge",
"1.21.3-fabric",
).forEach { version ->
Expand Down
6 changes: 6 additions & 0 deletions versions/1.21.3-forge/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kotlinForForgeVersion=5.3.0
# Use neoforge versions for normal forge since forge 1.21+ uses normal mojmap like neo
elementaPlatform=1.20.4-neoforge
universalPlatform=1.21.3-neoforge

essential.defaults.loom.forge=net.minecraftforge:forge:1.21.3-53.0.9
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
public net.minecraft.server.packs.FilePackResources$SharedZipFileAccess
public net.minecraft.server.packs.FilePackResources$SharedZipFileAccess file
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessWidener v2 named

accessible class net/minecraft/server/packs/FilePackResources$SharedZipFileAccess
accessible field net/minecraft/server/packs/FilePackResources$SharedZipFileAccess file Ljava/io/File;

0 comments on commit f283796

Please sign in to comment.