This is the official repo for the source of some of the Vanilla Tweaks packs.
To compile a pack, run npm run build
followed by the path of the data pack's directory.
Example:
npm run build datapacks/1.18/graves
The data pack will be installed to %appdata%/.minecraft/saves/<game version>/datapacks
, so you should already have created a world named by the game version (e.g. 1_18
).
To actively develop a pack, do the same but with watch
instead of build
. This will automatically re-compile when the pack is edited.
Example:
npm run watch datapacks/1.18/graves