Class AccessWidenerJarProcessor
java.lang.Object
net.fabricmc.loom.configuration.accesswidener.AccessWidenerJarProcessor
- All Implemented Interfaces:
JarProcessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAccessWidenerPath(Path modJarPath)byte[]getRemappedAccessWidener(org.objectweb.asm.commons.Remapper asmRemapper)booleanReturn true to make all jar processors run again, return false to use the existing results of jar processing.voidCurrently this is a destructive process that replaces the existing jar.voidremapAccessWidener(Path modJarPath, org.objectweb.asm.commons.Remapper asmRemapper)voidsetup()
-
Constructor Details
-
AccessWidenerJarProcessor
public AccessWidenerJarProcessor(org.gradle.api.Project project)
-
-
Method Details
-
setup
public void setup()- Specified by:
setupin interfaceJarProcessor
-
process
Description copied from interface:JarProcessorCurrently this is a destructive process that replaces the existing jar.- Specified by:
processin interfaceJarProcessor
-
remapAccessWidener
public void remapAccessWidener(Path modJarPath, org.objectweb.asm.commons.Remapper asmRemapper) throws IOException- Throws:
IOException
-
getRemappedAccessWidener
public byte[] getRemappedAccessWidener(org.objectweb.asm.commons.Remapper asmRemapper) throws IOException- Throws:
IOException
-
getAccessWidenerPath
-
isInvalid
Description copied from interface:JarProcessorReturn true to make all jar processors run again, return false to use the existing results of jar processing.- Specified by:
isInvalidin interfaceJarProcessor
-