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
|
LoaderPreprocessor |
Preprocessor can be used as follows:
#loader loadername
Example:
#loader contenttweaker
This will make scripts only being loaded when the loader is specified to load
contenttweaker scripts
this defaults to being "crafttweaker" which is being called by CraftTweaker
|
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 #ikwid 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
|
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
|