-
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.
Added advancement for disc and renamed to "Music Disc" to fit with ot…
…hers.
- Loading branch information
JuniorWolfgamingDE
committed
Jul 1, 2024
1 parent
192431c
commit 3e87172
Showing
5 changed files
with
84 additions
and
5 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
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,25 @@ | ||
{ | ||
"_fv": 57, | ||
"_type": "achievement", | ||
"definition": { | ||
"achievementName": "Sliced, melted or diced.", | ||
"achievementDescription": "Acquire sisthek's CHEESE music disc by producing ridiculous amounts of cheese.", | ||
"achievementIcon": { | ||
"value": "CUSTOM:CheeseMusicDisc" | ||
}, | ||
"background": "Default", | ||
"disableDisplay": false, | ||
"showPopup": true, | ||
"announceToChat": true, | ||
"hideIfNotCompleted": true, | ||
"rewardLoot": [], | ||
"rewardRecipes": [], | ||
"rewardFunction": "No function", | ||
"rewardXP": 0, | ||
"achievementType": "challenge", | ||
"parent": { | ||
"value": "husbandry/plant_seed" | ||
}, | ||
"triggerxml": "<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"item_in_inventory\" x=\"55\" y=\"21\"><value name=\"amount_l\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value><value name=\"amount_h\"><block type=\"math_number\"><field name=\"NUM\">1000</field></block></value><value name=\"item\"><block type=\"mcitem_all\"><field name=\"value\">CUSTOM:CheeseMusicDisc</field></block></value><next><block type=\"advancement_trigger\" deletable=\"false\"></block></next></block></xml>" | ||
} | ||
} |
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
36 changes: 36 additions & 0 deletions
36
src/main/resources/data/assortedcuisine/advancements/cheese_music_disc_advancement.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 @@ | ||
{ | ||
"display": { | ||
"icon": { | ||
"item": "assortedcuisine:cheese_music_disc" | ||
}, | ||
"title": { | ||
"translate": "advancements.cheese_music_disc_advancement.title" | ||
}, | ||
"description": { | ||
"translate": "advancements.cheese_music_disc_advancement.descr" | ||
}, | ||
"frame": "challenge", | ||
"show_toast": true, | ||
"announce_to_chat": true, | ||
"hidden": true | ||
}, | ||
"criteria": { | ||
"cheese_music_disc_advancement": { | ||
"trigger": "minecraft:inventory_changed", | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": [ | ||
"assortedcuisine:cheese_music_disc" | ||
], | ||
"count": { | ||
"min": 1, | ||
"max": 1000 | ||
} | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"parent": "minecraft:husbandry/plant_seed" | ||
} |