java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.neoforge.core.modules.NeoforgeModuleAccess

public class NeoforgeModuleAccess extends Object
  • Constructor Details

    • NeoforgeModuleAccess

      public NeoforgeModuleAccess()
  • Method Details

    • calculateLayerName

      public static String calculateLayerName(mods.thecomputerizer.theimpossiblelibrary.api.core.modules.ModuleLayerAccess layer)
      If the name is not set, this can be used to find it and set it
    • calculateLayerName

      public static String calculateLayerName(mods.thecomputerizer.theimpossiblelibrary.api.core.modules.ModuleLayerAccess moduleLayer, cpw.mods.modlauncher.api.IModuleLayerManager.Layer... validLayers)
      If the name is not set, this can be used to find it and set it
    • combineModules

      public static void combineModules(cpw.mods.modlauncher.api.IModuleLayerManager.Layer layer, URI combinedLocation, String combinedName, String base, String... others)
    • findConfigurationLayerName

      public static String findConfigurationLayerName(mods.thecomputerizer.theimpossiblelibrary.api.core.modules.ConfigurationAccess configuration)
    • findMatchingLayer

      public static cpw.mods.modlauncher.api.IModuleLayerManager.Layer findMatchingLayer(ClassLoader loader)
    • findModuleInAnyLayer

      public static mods.thecomputerizer.theimpossiblelibrary.api.core.modules.ModuleAccess findModuleInAnyLayer(String moduleName)
    • findModuleInLayers

      public static mods.thecomputerizer.theimpossiblelibrary.api.core.modules.ModuleAccess findModuleInLayers(String moduleName, cpw.mods.modlauncher.api.IModuleLayerManager.Layer... layers)
    • findModuleInLayer

      public static mods.thecomputerizer.theimpossiblelibrary.api.core.modules.ModuleAccess findModuleInLayer(String moduleName, cpw.mods.modlauncher.api.IModuleLayerManager.Layer layer)
    • findModuleInLayerNoError

      public static mods.thecomputerizer.theimpossiblelibrary.api.core.modules.ModuleAccess findModuleInLayerNoError(String moduleName, cpw.mods.modlauncher.api.IModuleLayerManager.Layer layer)
      Find a module in the given layer without logging an error when the module is absent
    • findResolvedModuleIn

      public static mods.thecomputerizer.theimpossiblelibrary.api.core.modules.ResolvedModuleAccess findResolvedModuleIn(String moduleName, cpw.mods.modlauncher.api.IModuleLayerManager.Layer layer)
    • getEnvironment

      public static EnvironmentAccess getEnvironment()
    • getEnvironment

      public static EnvironmentAccess getEnvironment(Object accessorOrLogger)
    • getEnvironment

      public static EnvironmentAccess getEnvironment(Object environment, Object accessorOrLogger)
    • getJarMetadata

      public static JarMetadataAccess getJarMetadata(Object jarMetadata, Object accessorOrLogger)
    • getLauncher

      public static LauncherAccess getLauncher()
    • getLauncher

      public static LauncherAccess getLauncher(Object accessorOrLogger)
    • getLayerFromName

      public static cpw.mods.modlauncher.api.IModuleLayerManager.Layer getLayerFromName(String layerName)
    • getLayerClassLoader

      public static ClassLoader getLayerClassLoader(cpw.mods.modlauncher.api.IModuleLayerManager.Layer layer, Object accessorOrLogger)
    • getLayerInfo

      public static LayerInfoAccess getLayerInfo(cpw.mods.modlauncher.api.IModuleLayerManager.Layer layer)
    • getLayerInfo

      public static LayerInfoAccess getLayerInfo(cpw.mods.modlauncher.api.IModuleLayerManager.Layer layer, Object accessorOrLogger)
    • getLayerInfo

      public static LayerInfoAccess getLayerInfo(Object layerInfo, Object accessorOrLogger)
    • getModFile

      public static ModFileAccess getModFile(Object modFile, Object accessorOrLogger)
    • getModule

      public static mods.thecomputerizer.theimpossiblelibrary.api.core.modules.ModuleAccess getModule(Object module)
    • getModuleClassLoader

      public static ModuleClassLoaderAccess getModuleClassLoader(@Nullable @Nullable cpw.mods.modlauncher.api.IModuleLayerManager.Layer layer)
    • getModuleClassLoader

      public static ModuleClassLoaderAccess getModuleClassLoader(@Nullable @Nullable cpw.mods.modlauncher.api.IModuleLayerManager.Layer layer, Object accessorOrLogger)
    • getModuleClassLoader

      public static ModuleClassLoaderAccess getModuleClassLoader(ClassLoader loader)
    • getModuleClassLoader

      public static ModuleClassLoaderAccess getModuleClassLoader(ClassLoader loader, cpw.mods.modlauncher.api.IModuleLayerManager.Layer layer)
      Get a ModuleClassLoaderAccess with the input layer name already set
    • getModuleClassLoader

      public static ModuleClassLoaderAccess getModuleClassLoader(ClassLoader loader, Object accessorOrLogger)
    • getModuleLayer

      public static mods.thecomputerizer.theimpossiblelibrary.api.core.modules.ModuleLayerAccess getModuleLayer(Object moduleLayer)
    • getModuleLayer

      public static mods.thecomputerizer.theimpossiblelibrary.api.core.modules.ModuleLayerAccess getModuleLayer(cpw.mods.modlauncher.api.IModuleLayerManager.Layer layer)
    • getModuleLayer

      public static mods.thecomputerizer.theimpossiblelibrary.api.core.modules.ModuleLayerAccess getModuleLayer(cpw.mods.modlauncher.api.IModuleLayerManager.Layer layer, Object accessorOrLogger)
    • getModuleLayerHandler

      public static ModuleLayerHandlerAccess getModuleLayerHandler()
    • getModuleLayerHandler

      public static ModuleLayerHandlerAccess getModuleLayerHandler(Object accessorOrLogger)
    • getModuleLayerHandler

      public static ModuleLayerHandlerAccess getModuleLayerHandler(Object moduleLayerHandler, Object accessorOrLogger)
    • getModuleLayerName

      public static String getModuleLayerName(mods.thecomputerizer.theimpossiblelibrary.api.core.modules.ModuleAccess module)
    • getSecureJar

      public static SecureJarAccess getSecureJar(Object secureJar, Object accessorOrLogger)
    • getSecureJarProvider

      public static SecureJarProviderAccess getSecureJarProvider(Object provider)
    • getSecureJarProvider

      public static SecureJarProviderAccess getSecureJarProvider(Object provider, Object accessorOrLogger)
    • moveModule

      public static void moveModule(cpw.mods.modlauncher.api.IModuleLayerManager.Layer layer, cpw.mods.modlauncher.api.IModuleLayerManager.Layer targetLayer, String moduleName, boolean moveClasses)
    • moveModule

      public static void moveModule(ModuleClassLoaderAccess sourceLoader, ModuleClassLoaderAccess targetLoader, mods.thecomputerizer.theimpossiblelibrary.api.core.modules.ResolvedModuleAccess module, boolean moveClasses)
    • moveModule

      public static void moveModule(ModuleClassLoaderAccess sourceLoader, ModuleClassLoaderAccess targetLoader, String moduleName, boolean moveClasses)
    • moveModuleToLayer

      public static void moveModuleToLayer(ModuleClassLoaderAccess sourceLoader, ModuleClassLoaderAccess targetLoader, mods.thecomputerizer.theimpossiblelibrary.api.core.modules.ModuleAccess module, boolean moveClasses)
    • printConfigurationGraph

      public static void printConfigurationGraph(mods.thecomputerizer.theimpossiblelibrary.api.core.modules.ConfigurationAccess configuration)
    • printConfigurationGraph

      public static void printConfigurationGraph(mods.thecomputerizer.theimpossiblelibrary.api.core.modules.ConfigurationAccess configuration, boolean printParents)
    • removeResolvedModules

      public static void removeResolvedModules(Collection<cpw.mods.modlauncher.api.IModuleLayerManager.Layer> layers, String... moduleNames)
    • removeResolvedModules

      public static void removeResolvedModules(cpw.mods.modlauncher.api.IModuleLayerManager.Layer layer, String... moduleNames)
    • removeResolvedModule

      public static void removeResolvedModule(cpw.mods.modlauncher.api.IModuleLayerManager.Layer layer, String moduleName)
    • renameModule

      public static void renameModule(cpw.mods.modlauncher.api.IModuleLayerManager.Layer layer, String name, String newName)