- Create a new GitHub repository with the "Use this template" button
- Clone the repository into your minecraft world's
datapacks
folder - Open the folder in Visual Studio Code and install the recommended extensions
- Rename the
yourname
folder to your datapack's name, and change the description inpack.mcmeta
to your datapack's description - Enable the datapack in Minecraft by running
/datapack enable "file/yourname"
(replaceyourname
with your datapack's name) - Run
/function yourname:helloworld
to test if it's working
- Change or add
.mcfunction
files (see the Function documentation) - Run
/reload
in Minecraft to reload the datapack after making changes