SpongePowered / VanillaGradle

A toolchain for Minecraft: Java Edition that builds a workspace to interact with the game using the official mappings provided to the public by Mojang Studios.
MIT License
89 stars 18 forks source link

Replace variable name bytecode transformer with mappings generation #11

Open zml2008 opened 3 years ago

zml2008 commented 3 years ago

Currently we provide variable names with bytecode transformation. This is fairly inflexible though.

Eventually, I'd like to add a way to add "mappings contributors" that receive a MappingSet and can operate on it however they want, by adding/removing/renaming mappings however they want. This would also allow us to customize official names however we want (pending output remapping support)

kashike commented 3 years ago

This would also allow us to customize official names however we want (pending output remapping support)

big 👎

Zidane commented 3 years ago

@kashike

I don't see an issue with providing the support, it isn't VanillaGradle that would be exercising said support.

One use case of this would be to do parameter mapping.