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): add @since and @version tags to javadocs in generated Accessors #38

Closed Misat11 closed 7 months ago

Misat11 commented 7 months ago

This PR adds @since and @version javadoc tags to the generated accessor classes.

Having these tags in accessors makes it easier to create NMS code since you do not have to open the mapping class to find out what version does that specific accessor field support, but you can simply hover over the accessor field reference in your code in your favorite IDE to get this information.