Package net.neoforged.elc.configs
Class LaunchGroup.Entry.Builder
java.lang.Object
net.neoforged.elc.configs.LaunchGroup.Entry.Builder
- Enclosing class:
- LaunchGroup.Entry
Builder for
LaunchGroup.Entry.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaction(LaunchGroup.Action action) Sets the post-launch action.adoptIfRunning(boolean adoptIfRunning) Sets the adopt if running flag.build(int index) enabled(boolean enabled) Sets the enabled state.mode(LaunchGroup.Mode mode) Sets the launch mode for the target configuration.
-
Constructor Details
-
Builder
-
-
Method Details
-
enabled
Sets the enabled state. If this entry is not enabled, it will not be launched.- Parameters:
enabled- If this entry is enabled.- Returns:
- this
-
adoptIfRunning
Sets the adopt if running flag. It does something™.- Parameters:
adoptIfRunning- The adopt if running flag- Returns:
- this
-
mode
Sets the launch mode for the target configuration.- Parameters:
mode- The new launch mode.- Returns:
- this
- See Also:
-
action
Sets the post-launch action.- Parameters:
action- The new action.- Returns:
- this
- See Also:
-
build
-