forked from WayofTime/BloodMagic
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed the root "Blood Magic" advancement to work on right clicking any tier of Blood Altar. Added Advancements for each tier of Altar. Will trigger when activating any Blood Altar of the same or higher tier. Added some of the basic Demon Will progress chain.
- Loading branch information
Showing
14 changed files
with
528 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
src/main/resources/data/bloodmagic/advancements/bloodmagic/altar_five.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"parent": "bloodmagic:bloodmagic/altar_four", | ||
"criteria": { | ||
"altar5": { | ||
"trigger": "minecraft:item_used_on_block", | ||
"conditions": { | ||
"location": [ | ||
{ | ||
"condition": "minecraft:location_check", | ||
"predicate": { | ||
"block": { | ||
"blocks": ["bloodmagic:altar"], | ||
"nbt": "{bloodAltar:{upgradeLevel:\"FIVE\"}}" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"display": { | ||
"icon": { | ||
"item": "bloodmagic:altar" | ||
}, | ||
"title": { | ||
"translate": "advancements.bloodmagic.altar_five.title" | ||
}, | ||
"frame": "task", | ||
"description": { | ||
"translate": "advancements.bloodmagic.altar_five.description" | ||
}, | ||
"show_toast": false, | ||
"announce_to_chat": true | ||
}, | ||
"requirements": [ | ||
[ | ||
"altar5" | ||
] | ||
] | ||
} |
57 changes: 57 additions & 0 deletions
57
src/main/resources/data/bloodmagic/advancements/bloodmagic/altar_four.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"parent": "bloodmagic:bloodmagic/altar_three", | ||
"criteria": { | ||
"altar4": { | ||
"trigger": "minecraft:item_used_on_block", | ||
"conditions": { | ||
"location": [ | ||
{ | ||
"condition": "minecraft:location_check", | ||
"predicate": { | ||
"block": { | ||
"blocks": ["bloodmagic:altar"], | ||
"nbt": "{bloodAltar:{upgradeLevel:\"FOUR\"}}" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"altar5": { | ||
"trigger": "minecraft:item_used_on_block", | ||
"conditions": { | ||
"location": [ | ||
{ | ||
"condition": "minecraft:location_check", | ||
"predicate": { | ||
"block": { | ||
"blocks": ["bloodmagic:altar"], | ||
"nbt": "{bloodAltar:{upgradeLevel:\"FIVE\"}}" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"display": { | ||
"icon": { | ||
"item": "bloodmagic:altar" | ||
}, | ||
"title": { | ||
"translate": "advancements.bloodmagic.altar_four.title" | ||
}, | ||
"frame": "task", | ||
"description": { | ||
"translate": "advancements.bloodmagic.altar_four.description" | ||
}, | ||
"show_toast": false, | ||
"announce_to_chat": true | ||
}, | ||
"requirements": [ | ||
[ | ||
"altar4", | ||
"altar5" | ||
] | ||
] | ||
} |
74 changes: 74 additions & 0 deletions
74
src/main/resources/data/bloodmagic/advancements/bloodmagic/altar_three.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
{ | ||
"parent": "bloodmagic:bloodmagic/altar_two", | ||
"criteria": { | ||
"altar3": { | ||
"trigger": "minecraft:item_used_on_block", | ||
"conditions": { | ||
"location": [ | ||
{ | ||
"condition": "minecraft:location_check", | ||
"predicate": { | ||
"block": { | ||
"blocks": ["bloodmagic:altar"], | ||
"nbt": "{bloodAltar:{upgradeLevel:\"THREE\"}}" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"altar4": { | ||
"trigger": "minecraft:item_used_on_block", | ||
"conditions": { | ||
"location": [ | ||
{ | ||
"condition": "minecraft:location_check", | ||
"predicate": { | ||
"block": { | ||
"blocks": ["bloodmagic:altar"], | ||
"nbt": "{bloodAltar:{upgradeLevel:\"FOUR\"}}" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"altar5": { | ||
"trigger": "minecraft:item_used_on_block", | ||
"conditions": { | ||
"location": [ | ||
{ | ||
"condition": "minecraft:location_check", | ||
"predicate": { | ||
"block": { | ||
"blocks": ["bloodmagic:altar"], | ||
"nbt": "{bloodAltar:{upgradeLevel:\"FIVE\"}}" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"display": { | ||
"icon": { | ||
"item": "bloodmagic:altar" | ||
}, | ||
"title": { | ||
"translate": "advancements.bloodmagic.altar_three.title" | ||
}, | ||
"frame": "task", | ||
"description": { | ||
"translate": "advancements.bloodmagic.altar_three.description" | ||
}, | ||
"show_toast": false, | ||
"announce_to_chat": true | ||
}, | ||
"requirements": [ | ||
[ | ||
"altar3", | ||
"altar4", | ||
"altar5" | ||
] | ||
] | ||
} |
91 changes: 91 additions & 0 deletions
91
src/main/resources/data/bloodmagic/advancements/bloodmagic/altar_two.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
{ | ||
"parent": "bloodmagic:bloodmagic/root", | ||
"criteria": { | ||
"altar2": { | ||
"trigger": "minecraft:item_used_on_block", | ||
"conditions": { | ||
"location": [ | ||
{ | ||
"condition": "minecraft:location_check", | ||
"predicate": { | ||
"block": { | ||
"blocks": ["bloodmagic:altar"], | ||
"nbt": "{bloodAltar:{upgradeLevel:\"TWO\"}}" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"altar3": { | ||
"trigger": "minecraft:item_used_on_block", | ||
"conditions": { | ||
"location": [ | ||
{ | ||
"condition": "minecraft:location_check", | ||
"predicate": { | ||
"block": { | ||
"blocks": ["bloodmagic:altar"], | ||
"nbt": "{bloodAltar:{upgradeLevel:\"THREE\"}}" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"altar4": { | ||
"trigger": "minecraft:item_used_on_block", | ||
"conditions": { | ||
"location": [ | ||
{ | ||
"condition": "minecraft:location_check", | ||
"predicate": { | ||
"block": { | ||
"blocks": ["bloodmagic:altar"], | ||
"nbt": "{bloodAltar:{upgradeLevel:\"FOUR\"}}" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"altar5": { | ||
"trigger": "minecraft:item_used_on_block", | ||
"conditions": { | ||
"location": [ | ||
{ | ||
"condition": "minecraft:location_check", | ||
"predicate": { | ||
"block": { | ||
"blocks": ["bloodmagic:altar"], | ||
"nbt": "{bloodAltar:{upgradeLevel:\"FIVE\"}}" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"display": { | ||
"icon": { | ||
"item": "bloodmagic:altar" | ||
}, | ||
"title": { | ||
"translate": "advancements.bloodmagic.altar_two.title" | ||
}, | ||
"frame": "task", | ||
"description": { | ||
"translate": "advancements.bloodmagic.altar_two.description" | ||
}, | ||
"show_toast": false, | ||
"announce_to_chat": true | ||
}, | ||
"requirements": [ | ||
[ | ||
"altar2", | ||
"altar3", | ||
"altar4", | ||
"altar5" | ||
] | ||
] | ||
} |
34 changes: 34 additions & 0 deletions
34
src/main/resources/data/bloodmagic/advancements/bloodmagic/demonwill.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"parent": "bloodmagic:bloodmagic/soulsnare", | ||
"criteria": { | ||
"hold_item":{ | ||
"trigger": "minecraft:inventory_changed", | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": ["bloodmagic:basemonstersoul"] | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"display": { | ||
"icon": { | ||
"item": "bloodmagic:basemonstersoul" | ||
}, | ||
"title": { | ||
"translate": "advancements.bloodmagic.demonwill.title" | ||
}, | ||
"frame": "task", | ||
"description": { | ||
"translate": "advancements.bloodmagic.demonwill.description" | ||
}, | ||
"show_toast": false, | ||
"announce_to_chat": false | ||
}, | ||
"requirements": [ | ||
[ | ||
"hold_item" | ||
] | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.