Class TILBetterModScan
java.lang.Object
net.minecraftforge.forgespi.language.ModFileScanData
mods.thecomputerizer.theimpossiblelibrary.forge.core.loader.TILBetterModScan
public class TILBetterModScan
extends net.minecraftforge.forgespi.language.ModFileScanData
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.forgespi.language.ModFileScanData
net.minecraftforge.forgespi.language.ModFileScanData.AnnotationData, net.minecraftforge.forgespi.language.ModFileScanData.ClassData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFilePath(Path path) voidaddWrittenClass(String className, mods.thecomputerizer.theimpossiblelibrary.api.core.loader.MultiVersionModInfo info, net.minecraftforge.forgespi.locating.IModFile file, byte[] bytecode) voiddefineClasses(ClassLoader target) Called via reflection from TILLanguageLoadervoidfixBrokenMods(Class<?> loaderClass) Yeah, this is kinda necessary when trying to work with classes on the wrong class loadervoidfixBrokenModsNew(Class<?> loaderClass) protected StringgetLastPkg(Collection<String> pkgs) If the given collection of packages contains a package from this library, it needs to be handled last.protected net.minecraftforge.forgespi.language.IModInfogetModFromFile(net.minecraftforge.forgespi.locating.IModFile file, String modid) sourceStack(Collection<Class<?>> generated) The set of all classes used as reference when adding sources to the target ClassLoader.Methods inherited from class net.minecraftforge.forgespi.language.ModFileScanData
addLanguageLoader, addModFileInfo, getAnnotations, getClasses, getIModInfoData, getTargets, interestingAnnotations
-
Constructor Details
-
TILBetterModScan
public TILBetterModScan()
-
-
Method Details
-
addFilePath
-
addWrittenClass
public void addWrittenClass(String className, mods.thecomputerizer.theimpossiblelibrary.api.core.loader.MultiVersionModInfo info, net.minecraftforge.forgespi.locating.IModFile file, byte[] bytecode) -
defineClasses
Called via reflection from TILLanguageLoader -
fixBrokenMods
Yeah, this is kinda necessary when trying to work with classes on the wrong class loader -
fixBrokenModsNew
-
getLastPkg
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. -
getModFromFile
protected net.minecraftforge.forgespi.language.IModInfo getModFromFile(net.minecraftforge.forgespi.locating.IModFile file, String modid) -
sourceStack
The set of all classes used as reference when adding sources to the target ClassLoader. Makes multi-project dev environments possible
-