-
Notifications
You must be signed in to change notification settings - Fork 11
Advancement Criteria
DaFuqs edited this page Jun 14, 2022
·
3 revisions
Revelationary adds new additional advancement criteria - meaning requirements that you can specify in your advancement.json as "player must have done that to unlock this advancement".
You can find documentation about vanilla advancement predicates here: https://minecraft.gamepedia.com/wiki/Advancement/JSON_format
Triggered when the player receives an advancement. A great way to build complex requirement chains.
- "advancement_identifier": The full qualified identifier of the required advancement
"criteria": {
"has_vegetal": {
"trigger":"revelationary:advancement_gotten",
"conditions": { "advancement_identifier": "spectrum:collect_vegetal" }
},
"collected_topaz_shard": {
"trigger":"revelationary:advancement_gotten",
"conditions": { "advancement_identifier": "spectrum:hidden/collect_shards/collect_topaz_shard" }
},
"collected_amethyst_shard": {
"trigger":"revelationary:advancement_gotten",
"conditions": { "advancement_identifier": "spectrum:hidden/collect_shards/collect_amethyst_shard" }
}
}
When a block or item is revealed to the player this
- "revelation_identifier": The block or item identifier that was revealed. If empty or omitted triggers for any revelation.
"criteria": {
"revealed_sparklestone": {
"trigger":"revelationary:had_revelation",
"conditions": { "revelation_identifier": "spectrum:sparklestone_ore" }
}
}