Class MetadataInjector
java.lang.Object
com.cleanroommc.gradle.api.util.inject.MetadataInjector
In-process replacement for MCInjector.
Takes an SRG named jar plus the MCP
access.txt, constructors.txt and exceptions.txt side tables and writes a jar whose net/minecraft
classes carry the metadata a decompiler needs: declared visibilities, throws clauses, named parameters,
repaired inner class constructors and shifted parameter annotations.
Only net/minecraft classes are touched; every other entry is copied through untouched.
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
inject
public static MetadataInjector.InjectResult inject(Path input, Path output, Path accessFile, Path constructorsFile, Path exceptionsFile) throws IOException - Throws:
IOException
-