Data Criteria
⚪ Last updated 2023⚠️ Install Order · 2 steps
Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.
Preview

🔍 Analysis
- 👍 0.3% endorsement rate
- 🏆 #277 of 874 fabric mods in this game by downloads
📋 About This Mod
## Why? Check out (https://github.com/acikek/data-criteria/wiki/Why%3F) for an example of creating advancement criteria without this mod. See the (https://github.com/acikek/data-criteria/wiki) for complete documentation. ## Example 1 - Create a criterion file. `parameters` is an **ordered list** of parameter names and types to pass in and check for. Make sure to group optional parameters at the end. `data/namespace/criteria/int_and_bool.json` ```json { "parameters": } ``` 2 - Use the criterion within an advancement file. ```json5 { // ... "criteria": { "test": { "trigger": "namespace:int_and_bool", "conditions": { "number": 5, // As 'possible' is optional, it's not required in the conditions } } } // ... } ``` 3 - Trigger the criterion through `DataCriteriaAPI`. ```java DataCriteriaAPI.trigger( new Identifier("namespace:int_and_bool"), serverPlayer, // The parameters begin here 10, true ); ``` ## License MIT © 2022 spadeteam
Check out (https://github.com/acikek/data-criteria/wiki/Why%3F) for an example of creating advancement criteria without this mod. See the (https://github.com/acikek/data-criteria/wiki) for complete documentation.
1 - Create a criterion file. `parameters` is an ordered list of parameter names and types to pass in and check for. Make sure to group optional parameters at the end.
`data/namespace/criteria/int_and_bool.json` ```json { "parameters": [ { "name": "number", "type": "datacriteria:int" }, { "name": "possible", "type": "datacriteria:bool", "optional": true } ] } ```
2 - Use the criterion within an advancement file.
```json5 { // ... "criteria": { "test": { "trigger": "namespace:int_and_bool", "conditions": { "number": 5, // As 'possible' is optional, it's not required in the conditions } } } // ... } ```
3 - Trigger the criterion through `DataCriteriaAPI`.
```java DataCriteriaAPI.trigger( new Identifier("namespace:int_and_bool"), serverPlayer, // The parameters begin here 10, true ); ```
MIT © 2022 spadeteam
📊 Mod Details
- Game
- Minecraft Mods
- Author
- acikek
- Version
- 1.0.1+1.20
- Downloads
- 1,926
- Endorsements
- 5
- Category
- fabric
- Created
- 12/21/2022
- Updated
- 7/17/2023
- Game Versions
- 1.20, 1.20.1
- Tags
- library
🔧 How to Install Minecraft Mods Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
📖 Full step-by-step install guide for Minecraft Mods →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.
❓ Frequently Asked Questions
Which Minecraft Mods versions does Data Criteria support?
The author lists 1.20, 1.20.1. Other versions may work but are untested by the author.
What is the latest version of Data Criteria?
Version 1.0.1+1.20, published 2023-07-17 with 1,926 downloads recorded at the source.
Keep browsing — more Minecraft Mods mods await