Skip to main content

Datapack generator

Fill in a name and your commands, then drop the ZIP into your world’s datapacks folder and run /reload. Everything happens locally.

Files to be created

  • pack.mcmeta
  • data/my_pack/function/main.mcfunction
  • data/my_pack/function/load.mcfunction
  • data/minecraft/tags/function/load.json

Notes

  • From 1.21 the folder is function (singular) instead of functions — the tool switches based on your version.
  • A wrong pack_format does not break the pack; the game just marks it incompatible and still loads it.
  • load runs once when the world loads; tick runs every game tick (1/20 s) and can easily lag the server.
  • Paths inside the ZIP must follow data/<namespace>/... or the game will not find them.