Minecraft Blogs / Other

Datapack Template (with guide)

  • 947 views, 1 today
  • 23
  • 15
  • 2
Datapack Hub's Avatar Datapack Hub
Level 19 : Journeyman Organization
190
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.

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

Website

© 2010 - 2024
www.planetminecraft.com

Welcome