Interface EarlyBootstrapper
public interface EarlyBootstrapper
Defines a type which can be used to perform any bootstrap operations before
mod discovery and loading starts.
-
Method Summary
Modifier and TypeMethodDescriptionvoidbootstrap(ProgramArgs arguments) Performs any bootstrapping that needs to be done before mod discovery and loading starts.name()Returns the name of this bootstrapper.
-
Method Details
-
name
String name()Returns the name of this bootstrapper. This is used for logging purposes.- Returns:
- the name of this bootstrapper
-
bootstrap
Performs any bootstrapping that needs to be done before mod discovery and loading starts. Non-standard program arguments only used by this bootstrapper should be removed from the provided args to avoid validation errors further downstream.- Parameters:
arguments- The arguments provided to the Java process. This is the entire command line, so you can process stuff from it.
-