#convert yarn mappings to intermediary
1 messages · Page 1 of 1 (latest)
I don't have a definitive answer, but there's tinyremapper. And if you open the source you can treat it like a regular project. What are you really trying to do?
well I wanna mess with asm and minecraft but I need to use intermediary mappings to change mc fabric at runtime
@subtle crater
the issue is
I don't actually have a fabric mod that I want to add to minecraft
I have java code that I want to add to minecraft through a java agent
and then I use ASM to change mc classes
actually nevermind I forgot that I switched from ASM
I use net.lenni0451.classtransform
you'll need to ship a copy of the yarn mappings, and use mapping-io to build a mapping tree, then invert it
so basically it's really obnoxious
I mean I would love to make it a fabric mod that I can add to minecraft and itll initialize as normal because I already have the mod I want to add but it's just a base fabric mod that you put in your mods folder
how difficult would it be to add my fabric mod to it and how much of my mod would I have to change?
not really. it's actually quite simple to do, once you understand what it is you're doing
there just isn't docs on it
what about this?
by add to minecraft, you mean after the game starts?
yep
fabric doesn't have any way to do that 🙂
yeah so can I make that possible
ok fair enough lol