| Interface | Description |
|---|---|
| IPreprocessor | |
| PreprocessorFactory<R extends IPreprocessor> |
| Class | Description |
|---|---|
| CrTScriptLoadEvent |
Event that is getting called each time a script gets loaded.
|
| DebugPreprocessor |
Adding the
#debug
Preprocessor will make this script generate the .class file which it normally just has under the hood
|
| IgnoreBracketErrorPreprocessor |
Adding the
#ignoreBracketError
will make the script ignore any bracket errors which happen at compile time
|
| IKWIDPreprocessor |
Putting the #ikwid preprocessor on a script file will make it that Logger warnings and errors aren't printed to the player chat
|
| LoaderPreprocessor |
Preprocessor can be used as follows:
#loader loadername1 loadername2 ...
|
| NoRunPreprocessor |
Scripts with the
#norun
Preprocessor are getting totally ignored and are not being run
Syntax command bypasses the not loading of the script
|
| NoWarnPreprocessor |
Putting the #nowarn preprocessor on a script file will make it that Logger warnings aren't printed to the player chat
|
| PreprocessorActionBase | |
| PreprocessorManager | |
| PreprocessorManager.ScriptFileComparator | |
| PriorityPreprocessor |
Preprocessor can be used as follows:
#priority number
The higher the number, the earlier it is getting executed
Scripts with the same priority get sorted alphabetically
|
| ProfilePreprocessor |
Putting the #profile preprocessor on a script file will profile the script actions
|
| SearchTreePreprocessor |
Adding the
#disable_search_tree
Preprocessor will disable recipe tree recalculation which may speed up game loading.
|
| SideOnlyPreprocessor |
Preprocessor can be used as follows:
#sideonly sidename
Example:
#sideonly client
This will make scripts only being loaded when the loader is the specified side
of the network
just leaving this loader away will cause it to be loaded on both sides
|