Skip to content

Mixin method remap: fix desc being dropped & support wildcards#164

Merged
modmuss50 merged 15 commits into
FabricMC:masterfrom
Moulberry:mixin_method_remap_fixes
May 19, 2026
Merged

Mixin method remap: fix desc being dropped & support wildcards#164
modmuss50 merged 15 commits into
FabricMC:masterfrom
Moulberry:mixin_method_remap_fixes

Conversation

@Moulberry
Copy link
Copy Markdown
Contributor

@Moulberry Moulberry commented Apr 26, 2026

Fixed descriptor being dropped when input had descriptor

Descriptor should be used in output if and only if either:

  1. Descriptor was present in input
  2. Descriptor is necessary to disambiguate

Added support for resolving multiple targets when using wildcard

See remapSeparateRemappedName test for example

After the rewrite commit, this addresses a lot of additional problems and edge cases brought up by LlamaLad7 on discord

Comment thread src/main/java/net/fabricmc/tinyremapper/ClassInstance.java
@modmuss50 modmuss50 merged commit 0a17734 into FabricMC:master May 19, 2026
3 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.

4 participants