Skip to content

Add unobfuscation support#38

Merged
ScribbleTAS merged 4 commits intoMinecraftTAS:developfrom
ScribbleTAS:feature/emergency-transformer
Mar 29, 2026
Merged

Add unobfuscation support#38
ScribbleTAS merged 4 commits intoMinecraftTAS:developfrom
ScribbleTAS:feature/emergency-transformer

Conversation

@ScribbleTAS
Copy link
Copy Markdown
Member

Fabric decided to add a brand new gradle plugin which remobes the "remapJar" task and just calls it "jar". We can't have that, so I switched it out with "build" which should always be the same...

Furthermore, access wideners got changed, so you need to write "official" instead of "named". And of course, preprocessing doesn't work for this use case, because the statement has to be in the first line of the access widener...

I was first gonna add an "EmergencyTransformer" to allow for these kinds of shenanigans... But since I want to redo some logic for Disco 2 that adds multi modloader preprocessing, I thought I will do the quick and temporary setup by only preprocessing the .accesswidener files... I already do some exceptions for that with the comments...

@ScribbleTAS ScribbleTAS requested a review from PancakeTAS March 29, 2026 20:15
@ScribbleTAS ScribbleTAS self-assigned this Mar 29, 2026
@PancakeTAS
Copy link
Copy Markdown
Member

I imagine "jar" is the default Gradle task added by the Java plugin, not loom.

@ScribbleTAS ScribbleTAS merged commit 5766823 into MinecraftTAS:develop Mar 29, 2026
2 checks passed
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