Data Criteria: Custom Advancement Triggers for Minecraft

Data Criteria lets you create custom, data-driven advancement criteria for Minecraft without Java code. Build flexible triggers with the datapack system.

Data Criteria

Advancements are one of Minecraft's most rewarding systems, but vanilla criteria are rigid. If you have ever wanted a custom trigger that checks your own parameters, Data Criteria is the add-on you have been waiting for. This lightweight mod brings data-driven advancement criteria to the game, letting pack authors define triggers entirely through JSON files instead of writing Java code. Whether you are building a sprawling RPG map or a subtle progression system for a survival server, this tool puts the power in your hands.

What Data Criteria Does

At its core, Data Criteria allows you to declare a criterion with an ordered list of parameters and types. Instead of relying on hardcoded triggers, you define a JSON file under data/namespace/criteria/ that describes what inputs the criterion expects. The mod then exposes an API so your logic can fire the criterion with the right values. The result is a clean separation between game logic and advancement configuration, which makes complex packs far easier to maintain.

The original description points readers to a wiki example of building advancement criteria without the mod, and the contrast is stark. Doing it the vanilla way means custom code and a lot of boilerplate. With this add-on, a single JSON file and one API call handle everything.

Supported Versions and Loaders

Data Criteria is designed for modern Minecraft releases and ships as a Fabric mod, so you will need the Fabric loader installed before you begin. Always confirm that the mod build matches your exact game version, since advancement and datapack internals shift between updates. If you plan to run it on a server, install it on both the client and server side to keep advancement syncing consistent.

How to Install Data Criteria

Getting started is straightforward. Follow these steps to download Data Criteria and get it running:

  • Install the Fabric loader for your Minecraft version.
  • Place the mod file into your mods folder.
  • Launch the game once to confirm the mod loads correctly.
  • Create your criterion JSON files inside a datapack.
  • Reference your custom trigger inside an advancement file.

If you are unsure about file placement, the wiki documentation walks through the folder structure in detail. Many players also find that a launcher with a built-in add-on catalog makes the process smoother, and the foxygame.net launcher is a solid pick here since it handles one-click installation and keeps Data Criteria updated automatically as new compatible builds appear.

Creating Your First Criterion

Step 1: Define the Criterion File

Create a file such as int_and_bool.json in your namespace's criteria folder. Inside, list your parameters in order, grouping optional ones at the end. For example, a required integer named "number" and an optional boolean named "possible" gives you a flexible trigger that other packs can reuse.

Step 2: Use It in an Advancement

Reference the trigger in your advancement's criteria block using the namespace and criterion name. Because optional parameters can be omitted, your conditions stay tidy and only include what matters for that specific advancement.

Step 3: Trigger Through the API

When the right moment arrives in your code or command logic, call the Data Criteria API with the criterion identifier, the player, and the parameter values. The mod validates the inputs and awards the advancement instantly.

Why Pack Authors Love It

The biggest win is reusability. One criterion definition can power dozens of advancements across your datapack, and optional parameters keep configurations lean. Because everything lives in data files, you can tweak triggers without recompiling anything, which speeds up iteration dramatically. For map makers, modpack developers, and server admins alike, that flexibility is hard to overstate.

Final Thoughts

Data Criteria fills a genuine gap in Minecraft's advancement system by making custom triggers accessible to anyone comfortable with JSON. If you want deeper, more personalized progression in your world, learning how to install this mod and experimenting with criterion files is time well spent. Grab the right build for your version, load up Fabric, and start designing advancements that feel truly your own.