zlataovce / takenaka

A Kotlin library for reconciling multiple obfuscation mapping files from multiple versions of Minecraft: JE.
Apache License 2.0
51 stars 3 forks source link

feat(generator-accessor): user-defined package naming strategy #27

Closed zlataovce closed 6 months ago

zlataovce commented 1 year ago

A way to affect and replace the mapping and accessor class naming logic should be provided as a part of AccessorConfiguration.

This brings the advantage of choosing the name based on the original, fully-qualified class name declared in the accessor model, like so:

zlataovce commented 9 months ago

This also aims to fix a bug where accessors for x.y.ClassOne are written over accessors for x.z.ClassOne (same class name, different package name).