Class AccessWidenerJarProcessor

java.lang.Object
net.fabricmc.loom.configuration.accesswidener.AccessWidenerJarProcessor
All Implemented Interfaces:
JarProcessor

public class AccessWidenerJarProcessor extends Object implements JarProcessor
  • Constructor Details

    • AccessWidenerJarProcessor

      public AccessWidenerJarProcessor(org.gradle.api.Project project)
  • Method Details

    • setup

      public void setup()
      Specified by:
      setup in interface JarProcessor
    • process

      public void process(File file)
      Description copied from interface: JarProcessor
      Currently this is a destructive process that replaces the existing jar.
      Specified by:
      process in interface JarProcessor
    • 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

      public String getAccessWidenerPath(Path modJarPath)
    • isInvalid

      public boolean isInvalid(File file)
      Description copied from interface: JarProcessor
      Return true to make all jar processors run again, return false to use the existing results of jar processing.
      Specified by:
      isInvalid in interface JarProcessor