Skip to content

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

Open
Moulberry wants to merge 14 commits intoFabricMC:masterfrom
Moulberry:mixin_method_remap_fixes
Open

Mixin method remap: fix desc being dropped & support wildcards#164
Moulberry wants to merge 14 commits intoFabricMC:masterfrom
Moulberry:mixin_method_remap_fixes

Conversation

@Moulberry
Copy link
Copy Markdown

@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
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.

3 participants