DataPack Configuration
The configuration function allows configuring the output of the generated datapack.
Example
This will configure the JSON output to be pretty printed with two spaces for indentation.
The available configuration options are:
| Option | Description | Default |
|---|---|---|
prettyPrint |
Whether to pretty print the JSON. | false |
prettyPrintIndent |
The string to use for indenting when pretty printing. Only whitespace characters are allowed. | |
generatedFunctionsFolder |
The folder where the generated functions are stored. | "generated_scopes" |
generateCommentOfGeneratedFunctionCall |
Whether to generate a comment when an implicit generated function is called. | true |
Configuring a datapack is pretty useful for debugging.
