minecraft-datapack

Create and validate vanilla Minecraft 1.21.x datapack files and JSON.

2|Updated May 22, 2026
One-click install
npx skills add https://github.com/AIKUSAN/minecraft-agent-skills-bundle --skill minecraft-datapack-aikusan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: minecraft-datapack
Source: https://github.com/AIKUSAN/minecraft-agent-skills-bundle/tree/main/plugins/minecraft-codex-skills/skills/minecraft-datapack
Command: npx skills add https://github.com/AIKUSAN/minecraft-agent-skills-bundle --skill minecraft-datapack-aikusan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, node, and includes scripts (resource) components.

What problem does it solve?

This Skill removes the friction of building and maintaining vanilla Minecraft datapacks by guiding you through the correct file layout, command syntax, and version-specific pack metadata for 1.21.x.

Core Features & Use Cases

  • Datapack Authoring: Create or edit pack.mcmeta, mcfunction files, advancements, predicates, recipes, loot tables, item modifiers, tags, and worldgen overrides.
  • Version-Safe Guidance: Match the correct pack metadata for the exact 1.21.x patch you are targeting, including newer min/max format handling.
  • Validation and Debugging: Catch JSON issues, bad paths, missing function tag targets, and legacy directory mistakes before loading the pack in-game.
  • Use Case: If you want a reload-safe datapack that grants rewards from an advancement and runs scheduled tick logic, this Skill helps you structure the files and commands correctly.

Quick Start

Ask the skill to create or debug a Minecraft 1.21.x datapack for your namespace, then provide the feature you want and the target behavior.

Frequently Asked Questions about minecraft-datapack

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

FAQPage Schema
How do I create a vanilla Minecraft datapack for 1.21.x without using Java or mod loaders?

You build vanilla Minecraft datapacks for 1.21.x by authoring pack.mcmeta, .mcfunction files, and JSON structures for advancements and loot tables without Java or mod loaders. This process uses standard datapack workflows and namespace-aligned file layouts.

How do I validate datapack JSON files and fix bad paths before loading them in-game?

Validating datapack JSON files catches bad paths, missing function tag targets, and legacy directory mistakes before loading the pack in-game. You ensure correct pack metadata and reload-safe function tags to prevent errors during gameplay.

Does this datapack workflow support macro and storage commands for 1.21.x?

Yes, the datapack workflow supports macro and storage commands for 1.21.x. It provides reload-safe function tags and ensures correct pack metadata, allowing you to schedule tick logic and manage data effectively.

What is the correct pack.mcmeta format for targeting a specific Minecraft 1.21.x patch?

The correct pack.mcmeta format for a specific Minecraft 1.21.x patch uses version-safe guidance with proper min and max format handling. Matching the exact patch metadata ensures the game recognizes and loads your datapack correctly.

Why is my Minecraft datapack not reloading safely when I run scheduled tick logic?

Your Minecraft datapack may not reload safely due to missing function tag targets or incorrect file layouts. Applying reload-safe function tags and validating your .mcfunction logic ensures scheduled tick commands execute without errors.

Can I override worldgen and create custom recipes in a vanilla datapack?

Yes, you can override worldgen and create custom recipes in a vanilla datapack. The workflow supports worldgen overrides, recipe JSON authoring, and predicate definitions alongside standard datapack content like advancements and tags.