Not Enough Crashes (Fabric)

Not Enough Crashes (Fabric)

4M Downloads

Display mixin source file and line numbers

Earthcomputer opened this issue ยท 6 comments

commented

Mixin generates an SMAP in the target class when transforming it, which allows you to obtain which mixin added a particular line of code. Or perhaps it might be easier to use @MixinMerged.

commented

@Earthcomputer Where can I find more information on this 'SMAP'?

commented

In what way should it be displayed? Added to stack traces like Forge? Taken into account when determining suspected mods?

commented

I'd just replace the source file

commented

For what it's worth I did this a few months ago. Ran happily enough alongside NEC back then and I would presume it still does now.

commented

@Chocohead Hey, I would like to use the code you posted, but it does not have a license. Do you permit me using that code for Not Enough Crashes?