PatchworkMC / patchwork-api

An attempt to reimplement the Minecraft Forge API on Fabric
GNU Lesser General Public License v2.1
282 stars 48 forks source link

God class codegen #202

Closed kitlith closed 3 years ago

kitlith commented 3 years ago

This is basically my first working version of stuff. depends on #201 , as it uses an annotationProcessor defined in a subproject and makes use of the precompiled script plugins to make it easier to e.g. disable checkstyle for a particular module.

Where to go from here: (ideas listed in order of most to least tempting)

kitlith commented 3 years ago

Before I forget, I'm gonna change the annotation next time I work on this so you always include the name of the item you're adding, to make it easier to search for the items.

basically the biggest upside to this method is also its biggest downside, in that everything is spread everywhere.

kitlith commented 3 years ago

Closing in favor of #203. I wouldn't mind revisiting this again another time, but at the moment I feel the biggest upside of this is also it's biggest disadvantage, and the other method is less likely to bite us in the ass later. i think. i hope.

kitlith commented 3 years ago

reopening i guess since at least @famous1622 is still interested in this.