minecraft-datapack

Create, edit, and debug vanilla Minecraft datapacks for version 1.21.x.

111|9|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/Jahrome907/minecraft-agent-skills --skill minecraft-datapack
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: minecraft-datapack
Source: https://github.com/Jahrome907/minecraft-agent-skills/tree/main/plugins/minecraft-codex-skills/skills/minecraft-datapack
Command: npx skills add https://github.com/Jahrome907/minecraft-agent-skills --skill minecraft-datapack

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Solves the problem of creating, editing, and debugging vanilla Minecraft datapacks for version 1.21.x.

Core Features & Use Cases

  • Pack structure support for pack.mcmeta, data/ namespace, and function files.
  • Validation tooling for JSON correctness, pack formats, and tag references.
  • Use Case: Validate a new datapack by loading it into a world and running /reload to confirm no load errors.

Quick Start

Place a datapack in your world's datapacks folder and run /reload to verify it loads correctly.

Frequently Asked Questions about minecraft-datapack

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create and validate a vanilla Minecraft datapack for 1.21.x?

To create and validate a vanilla Minecraft datapack, organize the required pack.mcmeta and data/ directory structure, apply JSON correctness checks, and verify supported content like functions and loot tables.

What is the required file structure for a Minecraft datapack?

The required Minecraft datapack file structure consists of a root pack.mcmeta file and a data/ directory containing namespaced folders for supported content like functions, advancements, loot tables, and tags.

How do I test a datapack in a Minecraft world to confirm it loads correctly?

To test a datapack in a Minecraft world, place the pack inside the world's datapacks folder and run the /reload command to confirm there are no load errors and the content initializes properly.

Does this datapack validation workflow support loot tables and worldgen overrides?

Yes, this datapack validation workflow supports loot tables and worldgen overrides, alongside functions, advancements, and tags, verifying JSON correctness and pack formats for these content types.

What is the best way to debug JSON errors in Minecraft datapacks?

The best way to debug JSON errors in Minecraft datapacks is to apply a validation workflow that checks JSON correctness, pack formats, and tag references, then load the pack into a world and run /reload to identify errors.