Skip to content

Fix getAssetsIndex task for ForgeGradle 1.0#1074

Closed
zeng-github01 wants to merge 1 commit into
MinecraftForge:FG_1.0from
zeng-github01:FG_1.0-assets-download
Closed

Fix getAssetsIndex task for ForgeGradle 1.0#1074
zeng-github01 wants to merge 1 commit into
MinecraftForge:FG_1.0from
zeng-github01:FG_1.0-assets-download

Conversation

@zeng-github01
Copy link
Copy Markdown

Changes

  • Asset Download Fix:
    • Replaced the legacy asset downloading logic with the current Mojang API implementation.
    • This fix is backported and adapted from anatawa12/ForgeGradle-1.2.

Testing Performed

  • Executed `./gradlew build and successfully

@LexManos
Copy link
Copy Markdown
Member

Did some quick tests couple days ago and it didnt work on my end.
I've been working on a solution to things related to this. So keep an eye out.

@zeng-github01
Copy link
Copy Markdown
Author

zeng-github01 commented May 14, 2026

Did some quick tests couple days ago and it didnt work on my end. I've been working on a solution to things related to this. So keep an eye out.

I see, thanks.

I am still using the previous fixed version. However, I recently encountered an issue; since I am not familiar with FG, I haven't been able to figure out what caused it.

When executing the setup Workspace task, the index json file fails to be retrieved, indicating that the file does not found. However, the build task retrieves the json file successfully, and the former no longer throws errors after execution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants