summaryrefslogtreecommitdiff
path: root/src/main/resources/META-INF/services/bscv.asm.api.IInjector
Commit message (Collapse)AuthorAgeLines
* build: removed asm patching and moved asm patches alemidev2023-02-07-2/+0
|
* feat: simplified impl with interface + fix loading alemidev2023-02-06-0/+2
only load patches rather than looking into all mods manually. patch loading is implemented using ServiceLoader, thus removing most unchecked casts and reflection accesses to methods, and directly invoking inject(). This is much more efficient and allows to store only loader in the Launch Plugin and only patches in mods themselves. The modder patch interface is still super ripe, requiring each method to be implemented returning a raw string with the unmapped name, but helpers and utils and build plugins can be developed later on to make this API more friendly.