Minecraft Blogs / Other

Datapack Template (with guide)

  • 333 views, 1 today
  • 15
  • 8
  • 1
Daily Datapackers avatar Daily Datapackers
Level 2 : Apprentice Team
81
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]
Tags

Create an account or sign in to comment.

5
01/28/2022 2:09 pm
Level 45 : Master Wizard
Flynecraft
Flynecraft avatar
Imagine actually needing this, must be cringe ;-;
jk
Planet Minecraft

Website

© 2010 - 2022
www.planetminecraft.com

Welcome