-
Notifications
You must be signed in to change notification settings - Fork 34
Commands
SPGoding edited this page Aug 6, 2020
·
1 revision
These commands are all server-side commands. Not every server-side command necessarily has a corresponding client-side command.
Create a file in the specified data pack.
- [0] (string) The file cache type of the file.
- [1] (string) The identity of the file. It could be a tag ID starting with the hash symbol (
#
). - [2] (string) The URI of the data pack root.
🚧 This command is planned but haven't been finished.
Fix all auto-fixables problems in the specified file.
- [0] (string) The URI of the file.
Fix all auto-fixables problems in the workspace.
This command does not have any arguments.
🚧 This command is planned but haven't been finished.
Regenerate the cache file for the workspace.
This command does not have any arguments.
Version | Description |
---|---|
1.13.0 | Added datapack.regenerateCache . |
2.1.0 | Added datapack.fixFile and datapack.fixWorkspace . |
3.0.0 | Added datapack.createFile . |