CurseForge · Minecraft mod
Data Criteria
Data-driven advancement criteria
Quick answer
Which Data Criteria release should I use?
Data Criteria 1.0.1 Fabric for 1.20-1.20.1 targets 1.20.1, 1.20 with Fabric, Quilt. The project page does not say whether this file belongs on the client, dedicated server, or both. All 1 required mods have matching files.
Where it goes
Is Data Criteria required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does Data Criteria 1.0.1 Fabric for 1.20-1.20.1 need?
1.0.1 Fabric for 1.20-1.20.1. Change the file and its required mods may change too.
Install Fabric API first. We found matching files for this game-version and loader setup.
We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add Data Criteria without breaking your instance.
Built for Data Criteria 1.0.1 Fabric for 1.20-1.20.1. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.0.1 Fabric for 1.20-1.20.1. It targets 1.20.1, 1.20 with Fabric, Quilt; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Fabric API first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.0.1 Fabric for 1.20-1.20.1. It opens that exact file at the source.
About this project
What does Data Criteria add?
Data-driven advancement criteria.
Why?
Check out this page for an example of creating advancement criteria without this mod. See the the rest of the wiki for complete documentation.
Example
- 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
{
"parameters": [
{
"name": "number",
"type": "datacriteria:int"
},
{
"name": "possible",
"type": "datacriteria:bool",
"optional": true
}
]
}
- Use the criterion within an advancement file.
{
// ...
"criteria": {
"test": {
"trigger": "namespace:int_and_bool",
"conditions": {
"number": 5,
// As 'possible' is optional, it's not required in the conditions
}
}
}
// ...
}
- Trigger the criterion through DataCriteriaAPI.
DataCriteriaAPI.trigger(
new Identifier("namespace:int_and_bool"),
serverPlayer,
// The parameters begin here
10, true
);
License
MIT © 2022 spadeteam
Project description from CurseForge.
Pick your setup
Data Criteria by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.20.1
2 loader builds1.20
2 loader builds1.19.4
2 loader builds1.19.3
2 loader builds1.19.2
2 loader builds1.19.1
2 loader builds1.19
2 loader builds1.18.2
2 loader buildsCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Data Criteria versions and loaders
1.0.1 Fabric for 1.20-1.20.1
datacriteria-1.0.1+1.20.jar
17 Jul 2023
1.0.1 Fabric for 1.19.4
datacriteria-1.0.1+1.19.4.jar
17 Jul 2023
1.0.1 Fabric for 1.19-1.19.2
datacriteria-1.0.1+1.19.jar
17 Jul 2023
1.0.0 Fabric for 1.20
datacriteria-1.0.0+1.20.jar
8 Jun 2023
1.0.0 Fabric for 1.18.2
datacriteria-1.0.0+1.18.2.jar
24 Mar 2023
1.0.0 Fabric for 1.19.4
datacriteria-1.0.0+1.19.4.jar
22 Mar 2023
1.0.0 Fabric for 1.19.3
datacriteria-1.0.0+1.19.3.jar
30 Dec 2022
1.0.0 Fabric for 1.19-1.19.2
datacriteria-1.0.0-beta.3+1.19.jar
30 Dec 2022
1.0.0 Fabric Beta 1 for 1.19.3
datacriteria-1.0.0+1.19.3.jar
21 Dec 2022
1.0.0 Fabric Beta 1 for 1.19-1.19.2
datacriteria-1.0.0+1.19.jar
21 Dec 2022
Looking for an older file? The official CurseForge project page is in Resources.