Create a new folder for your datapack
Open the folder and make a file named `pack.mcmeta`
Add the pack metadata JSON to `pack.mcmeta`
Create a folder named `data`
Inside `data`, create a folder named `minecraft`
Inside `minecraft`, create a folder named `tags`
Inside `tags`, create a folder named `functions`
Inside `functions`, create a file named `load.json`
Inside `functions`, create a file named `tick.json` if needed
Create a folder named with your namespace inside `data`
Inside your namespace folder, create a folder named `functions`
Add your `.mcfunction` files inside the `functions` folder
Save all files with correct JSON and function syntax
Zip the datapack folder if needed
Place the datapack in the world’s `datapacks` folder
Open the world and run `/reload`
Check that the datapack is enabled with `/datapack list`
Use `/function namespace:function_name` to test it
