java.lang.Object
net.neoforged.neoforgespi.language.ModFileScanData
mods.thecomputerizer.theimpossiblelibrary.neoforge.core.loader.TILBetterModScan

public class TILBetterModScan extends net.neoforged.neoforgespi.language.ModFileScanData
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.neoforged.neoforgespi.language.ModFileScanData

    net.neoforged.neoforgespi.language.ModFileScanData.AnnotationData, net.neoforged.neoforgespi.language.ModFileScanData.ClassData
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    addWrittenClass(String className, mods.thecomputerizer.theimpossiblelibrary.api.core.loader.MultiVersionModInfo info, net.neoforged.neoforgespi.locating.IModFile file, byte[] bytecode)
     
    void
     
    protected String
    If the given collection of packages contains a package from this library, it needs to be specially handled
     
    protected net.neoforged.neoforgespi.language.IModInfo
    getModFromFile(net.neoforged.neoforgespi.locating.IModFile file, String modid)
     

    Methods inherited from class net.neoforged.neoforgespi.language.ModFileScanData

    addLanguageLoader, addModFileInfo, getAnnotations, getClasses, getIModInfoData, getTargets, interestingAnnotations

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TILBetterModScan

      public TILBetterModScan()
  • Method Details

    • addFilePath

      public void addFilePath(Path path)
    • addWrittenClass

      public void addWrittenClass(String className, mods.thecomputerizer.theimpossiblelibrary.api.core.loader.MultiVersionModInfo info, net.neoforged.neoforgespi.locating.IModFile file, byte[] bytecode)
    • defineClasses

      public void defineClasses(ClassLoader target)
    • getLoaderPkg

      protected String getLoaderPkg(Collection<String> pkgs)
      If the given collection of packages contains a package from this library, it needs to be specially handled
    • getModClass

      public String getModClass(String modid)
    • getModFromFile

      protected net.neoforged.neoforgespi.language.IModInfo getModFromFile(net.neoforged.neoforgespi.locating.IModFile file, String modid)