List of Commands

These commands are all server-side commands. Not every server-side command necessarily has a corresponding client-side command.

datapack.createFile

Create a file in the specified data pack.

Arguments

  • [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.

datapack.evaludateJavaScript

🚧 This command is planned but haven’t been finished.

datapack.fixFile

Fix all auto-fixables problems in the specified file.

Arguments

  • [0] (string) The URI of the file.

datapack.fixWorkspace

Fix all auto-fixables problems in the workspace.

Arguments

This command does not have any arguments.

datapack.redownloadData

🚧 This command is planned but haven’t been finished.

datapack.regenerateCache

Regenerate the cache file for the workspace.

Arguments

This command does not have any arguments.

History

Version Description
1.13.0 Added datapack.regenerateCache.
2.1.0 Added datapack.fixFile and datapack.fixWorkspace.
3.0.0 Added datapack.createFile.