Run Spec
You can configure how to dispose of the data Mindustry generated during running.
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Whether to delete all mods other than any in ModsSpec.worksWith in the data directory, ensure you have backed up your mods.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Set the dataDir to the default path of which Mindustry commonly used
Link copied to clipboard
public final Unit setDataDir(@InheritFromParent() @DefaultValue(default = "temp" ) String dataDir)
Content copied to clipboard
Link copied to clipboard
Set the dataDir to the RunMindustry.getTemporaryDir.
Link copied to clipboard
public final Unit setForciblyClear(@InheritFromParent() @DefaultValue(default = "false" ) Boolean forciblyClear)
Content copied to clipboard
Properties
Link copied to clipboard
Whether to delete all mods other than any in ModsSpec.worksWith in the data directory, ensure you have backed up your mods.
Link copied to clipboard
Link copied to clipboard
Whether to delete all mods other than any from ModsSpec.worksWith in the data directory, ensure you have backed up your mods.
Link copied to clipboard
Link copied to clipboard
Set the dataDir to the default path of which Mindustry commonly used.
Link copied to clipboard
Set the dataDir to the environment variable,
Link copied to clipboard
Set the dataDir to the RunMindustry.getTemporaryDir.