Quilt Loader 1
Loading...
Searching...
No Matches
net.fabricmc.loader.impl.launch.FabricLauncher Interface Reference
Inheritance diagram for net.fabricmc.loader.impl.launch.FabricLauncher:
net.fabricmc.loader.impl.launch.FabricLauncherBase net.fabricmc.loader.impl.launch.knot.Knot

Public Member Functions

void addToClassPath (Path path, String... allowedPrefixes)
void setAllowedPrefixes (Path path, String... prefixes)
EnvType getEnvironmentType ()
boolean isClassLoaded (String name)
Class<?> loadIntoTarget (String name) throws ClassNotFoundException
 Load a class into the game's class loader even if its bytes are only available from the parent class loader.
InputStream getResourceAsStream (String name)
ClassLoader getTargetClassLoader ()
byte[] getClassByteArray (String name, boolean runTransformers) throws IOException
 Gets the byte array for a particular class.
Manifest getManifest (Path originPath)
boolean isDevelopment ()
String getEntrypoint ()
String getTargetNamespace ()
List< Path > getClassPath ()

Member Function Documentation

◆ getClassByteArray()

byte[] net.fabricmc.loader.impl.launch.FabricLauncher.getClassByteArray ( String name,
boolean runTransformers ) throws IOException

Gets the byte array for a particular class.

Parameters
nameThe name of the class to retrieve
runTransformersWhether to run all transformers except mixin on the class

Implemented in net.fabricmc.loader.impl.launch.FabricLauncherBase.

◆ loadIntoTarget()

Class<?> net.fabricmc.loader.impl.launch.FabricLauncher.loadIntoTarget ( String name) throws ClassNotFoundException

Load a class into the game's class loader even if its bytes are only available from the parent class loader.

Implemented in net.fabricmc.loader.impl.launch.FabricLauncherBase.


The documentation for this interface was generated from the following file:
  • src/fabric/impl/java/net/fabricmc/loader/impl/launch/FabricLauncher.java