Headers
Headers are keys placed at the beginning of each .ntscript file. The compiler references these headers to determine how to compile the file.
desc optional
The desc header is used to include a description in the compiled pack.mcmeta. It must be denoted by using quotes around the path.
Example
desc "This is a cool description!"dir required
The dir header is used to specify the output directory in which to save the compiled datapack. The target path must contain a datapacks directory. It must be denoted by using quotes around the path.
Example
dir "C:\Users\Wiki\AppData\Roaming\.minecraft\saves\ExampleWorld"import optional
The import header is used to import NetherScript libraries (.ntlib) for reference in NetherScript. For a list of provided libraries, reference "Internal Libraries"
Example
import commonscale optional
The scale header is used to specify the multiplier of double type values. If not specified, scale defaults to 10000
Example
scale 10000Warning
It is untested whether .ntscript files which use non-integers work as expected.