-
Notifications
You must be signed in to change notification settings - Fork 10
ScriptReloading
youyihj edited this page Jan 29, 2024
·
10 revisions
@since 1.12.0
ZenUtils allows you to reload some scripts. Run /ct reload
command to reload scripts. By default, all scripts are not reloadable. Some configurations are required.
These operations are reloadable:
Install ZenRecipeReload to get recipe reloading.
Basically, Add #reloadable
preprocessor to mark a script reloadable.
Or call addReloadableLoader(loaderName as string)
global function to mark all scripts with a specific loader reloadable. For example: addReloadableLoader("crafttweaker")
. But "reload" some unsupported operations may produce unexpected behaviors, you are supposed to add #notreloadable
preprocessor to mark some script not reloadable explicitly.
- GlobalFunctions
- ScriptReloading
- SuppressErrorPreprocessor
- HardFailPreprocessor
- OrderlyMap
- IData Deep Update
- Template String
- Native Method Access
- Mixin
- CrTI18n
- CrTUUID
- CrTItemHandler
- CrTLiquidHandler
- ILiquidTankProperties
- StringList
- HexHelper
- StaticString
- Catenation
- PersistedCatenation
- PlayerStat
- IStatFormatter
- GameRuleHelper
- ZenCommand
- ZenCommandTree
- ZenUtilsCommandSender
- IGetCommandUsage
- ICommandExecute
- IGetTabCompletion
- CommandUtils