Skip to content

Add a configuration option to automatically run gradlew processResources when F3+T is pressed in a development environment#4491

Closed
screret wants to merge 5 commits intoGregTechCEu:1.20.1from
screret:sc/dev-utils
Closed

Add a configuration option to automatically run gradlew processResources when F3+T is pressed in a development environment#4491
screret wants to merge 5 commits intoGregTechCEu:1.20.1from
screret:sc/dev-utils

Conversation

@screret
Copy link
Copy Markdown
Contributor

@screret screret commented Jan 24, 2026

What

Title

Implementation Details

The mixin hook (conditionally) wraps the MC resource reload future with another one that runs ./gradlew :processResources (on unix) or cmd /c gradlew.bat :processResources (on Windows) before letting MC do its thing.

Outcome

Developers can now change textures/models/etc. without restarting the game every time.

@screret screret requested a review from a team as a code owner January 24, 2026 13:54
@jurrejelle
Copy link
Copy Markdown
Contributor

I hate to do this, but can you separate this out into 3 PRs:
1 fixing the test
2 changing the gradle for LWJGL and FastUtil
3 adding the processResources hook on F3+T

It isn't about changelog, it's about tracability when something breaks and being able to merge one thing without having to merge another

@jurrejelle
Copy link
Copy Markdown
Contributor

Closed for now until it's split up, let us know when it's split up and we'll reopen ^^ to ensure it's not accidentally merged as-is

@jurrejelle jurrejelle closed this Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants