Blogs Other

Datapack Template (with guide)

  • 1.2k views 0 today
  • 23
  • 15
  • 2
Datapack Hub
Lvl 43Master Organization
312
Datapack Template
This is a simple example datapack with everything you will need to get started. Inside the folders are guides explaining how to use each folder. This example pack will say Hello World when you run /reload. The files are so:
  • /pack.mcmeta - This tells Minecraft what version the Datapack is, and what its description is
  • /data/minecraft/tags/functions/tick.json - This is a list of the functions that are run every tick
  • /data/minecraft/tags/functions/load.json - This is a list of the functions that are run when you run /reload
  • /data/template/functions/ - This is the folder where you put your function files (as .mcfunction)
  • /data/template/recipes/ - This is the folder where you put your crafting or other recipes.
  • /data/template/advancements - This is the folder where you can put advancements
  • /data/template/loot_tables - This is the folder where you can put loot tables (what mobs and blocks drop)
I suggest you check out a good datapack tutorial, such as this one by @Bertiecrafter. It shows you how to use the basic files and what they do. Happy coding!

Download the template: [​Click Here]

More like this

  Have something to say?

starrscythe
01/09/2023 3:21 pm
Level 31 : Artisan Dragonborn
history
A Consistent datapack template! Finally the thing I've been looking for my entire life.
2
Flyrr
01/28/2022 2:09 pm
Level 52 : Grandmaster Wizard
Imagine actually needing this, must be cringe ;-;
jk
7

Welcome