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.
Create Blood Magic's Root Advancement
This creates the Advancement Tab, and the first advancement on it which is for holding a Blood Altar.
- Loading branch information
Showing
4 changed files
with
42 additions
and
0 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
Binary file added
BIN
+540 Bytes
src/main/resources/assets/bloodmagic/textures/gui/advancements_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions
36
src/main/resources/data/bloodmagic/advancements/bloodmagic/root.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,36 @@ | ||
{ | ||
"criteria": { | ||
"get_blood_altar": { | ||
"trigger": "minecraft:inventory_changed", | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": [ | ||
"bloodmagic:altar" | ||
] | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"display": { | ||
"icon": { | ||
"item": "bloodmagic:altar" | ||
}, | ||
"title": { | ||
"translate": "advancements.bloodmagic.root.title" | ||
}, | ||
"frame": "task", | ||
"background": "bloodmagic:textures/gui/advancements_background.png", | ||
"description": { | ||
"translate": "advancements.bloodmagic.root.description" | ||
}, | ||
"show_toast": false, | ||
"announce_to_chat": true | ||
}, | ||
"requirements": [ | ||
[ | ||
"get_blood_altar" | ||
] | ||
] | ||
} |