Class TILBetterModScan

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
    Called via reflection from TILLanguageLoader
    protected String
    If the given collection of packages contains a package from this library, it needs to be handled last.
    getModClass(net.neoforged.neoforgespi.language.IModInfo info)
     
    protected net.neoforged.neoforgespi.language.IModInfo
    getModFromFile(net.neoforged.neoforgespi.locating.IModFile file, String modid)
     
    void
    setModClass(net.neoforged.neoforgespi.language.IModInfo mod, String className)
     

    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)
    • setModClass

      public void setModClass(net.neoforged.neoforgespi.language.IModInfo mod, String className)
    • 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)
      Called via reflection from TILLanguageLoader
    • getLastPkg

      protected String getLastPkg(Collection<String> pkgs)
      If the given collection of packages contains a package from this library, it needs to be handled last. The package is removed from the collection if found.
    • getModClass

      public String getModClass(net.neoforged.neoforgespi.language.IModInfo info)
    • getModFromFile

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