neoforged / ModDevGradle

A Gradle plugin for developing Minecraft mods using NeoForge
https://projects.neoforged.net/neoforged/moddevgradle
GNU Lesser General Public License v2.1
22 stars 3 forks source link

Injected interfaces based on Asm #82

Closed dima-dencep closed 1 week ago

dima-dencep commented 1 week ago

I had an idea for a long time to write a small feature for archloom that would look for all the mixins and analyze them with asm for interface impl, I made such an implementation and it even works, however I am not very familiar with the archloom structure and I don't know how to explain it, you can see the implementation here:

Well, I'm sure you guys can come up with something better than my shit code ❤️ I also know you have some thing for analyzing uncompiled java code, so here goes

shartte commented 1 week ago

That actually sounds somewhat similar to what I implemented for Fabric a long time ago: https://github.com/FabricMC/fabric-loom/commit/ccfe12eb17c043c73a1419b2dbd766e20648b8e6