Java datapack creator

Minecraft Java datapack creator for every recent version

Minecraft Java Edition changes its datapack rules almost every update: pack format numbers increment, directories were renamed from plural to singular in 1.21, and item NBT gave way to components in 1.20.5. ModCrafter's datapack creator tracks those differences so the pack you download matches the version you actually play.

Version-correct output, automatically

Choose your Minecraft Java version in the composer before you generate. ModCrafter adjusts the pack format written into pack.mcmeta, picks the right directory layout, and uses either component syntax or legacy NBT depending on what your version understands. A pack built for the wrong format either refuses to load or silently misbehaves — this removes that whole class of problem.

  • Correct pack_format for the selected release
  • Singular directories on modern versions, plural on older ones
  • Item components on 1.20.5 and newer, NBT tags before that
  • Modern equipment compound or legacy ArmorItems as appropriate

Everything a valid Java datapack needs

A pack that loads is more than a folder of commands. It needs a valid pack.mcmeta, a namespace, function tags that register your load and tick logic, and every referenced function present on disk. ModCrafter emits the full set every time, so /reload succeeds instead of throwing red text in chat.

Built for evergreen use

Because the version is a setting rather than a hardcoded assumption, the same workflow keeps working as new Java releases land. Regenerate an old idea against a newer version and you get an updated pack rather than a broken one.

Example prompts you can try

Paste any of these into the ModCrafter AI datapack generator and download the finished zip.

Frequently asked questions

Does ModCrafter support the latest Minecraft version?

Yes. A version picker in the composer covers current and recent Minecraft Java Edition releases, and the generated pack format matches your selection.

Does this work with Bedrock Edition?

No. Datapacks are a Java Edition feature. Bedrock uses behaviour packs, which are a different format.

Will a pack made for an older version still load?

Minecraft warns about mismatched pack formats and may refuse to load the pack. Regenerate it with the correct version selected instead.

Where do datapacks go?

Unzip nothing — drop the downloaded .zip straight into your world's datapacks folder, then run /reload in game.

Keep exploring ModCrafter