Interface IScriptRunInfo
- All Known Subinterfaces:
IMutableScriptRunInfo
public interface IScriptRunInfo
Gives information relative to a specific
IScriptRun.- Since:
- 9.1.0
-
Method Summary
Modifier and TypeMethodDescriptionGets a list of allIActions that have been applied during this run.Obtains the configuration used to execute the script run.booleanIndicates whether a branding message should be printed to the logs during the script run.booleanIndicates whether the generated classes should be dumped for debugging purposes.Gets a list of allIActions that could not have been applied due to them being invalid.booleanIndicates whether the targeted run will be or has been the first for the targeted loader.default IScriptLoaderloader()Gets theIScriptLoaderthat will be used to execute this script run.default IScriptLoadSourceGets theIScriptLoadSourcethat is responsible for this script run.
-
Method Details
-
configuration
ScriptRunConfiguration configuration()Obtains the configuration used to execute the script run.- Returns:
- The configuration used to execute the script run.
- Since:
- 9.1.0
-
appliedActions
Gets a list of allIActions that have been applied during this run.The returned list is not modifiable and acts as a simple log.
- Returns:
- A list containing all applied actions.
- Since:
- 9.1.0
-
invalidActions
Gets a list of allIActions that could not have been applied due to them being invalid.The returned list is not modifiable and acts as a simple log.
- Returns:
- A list containing all invalid actions.
- Since:
- 9.1.0
-
displayBranding
boolean displayBranding()Indicates whether a branding message should be printed to the logs during the script run.The branding message acts as a referral to CraftTweaker's Patreon.
- Returns:
- Whether a branding message should be printed.
- Since:
- 9.1.0
-
dumpClasses
boolean dumpClasses()Indicates whether the generated classes should be dumped for debugging purposes.- Returns:
- Whether the generated classes should be dumped.
- Since:
- 9.1.0
-
isFirstRun
boolean isFirstRun()Indicates whether the targeted run will be or has been the first for the targeted loader.- Returns:
- Whether this was a first run or not.
- Since:
- 9.1.0
-
loader
Gets theIScriptLoaderthat will be used to execute this script run.- Returns:
- The loader used to execute this script run.
- Since:
- 9.1.0
-
loadSource
Gets theIScriptLoadSourcethat is responsible for this script run.- Returns:
- The load source responsible for this run.
- Since:
- 9.1.0
-