Skip to content

Commit

Permalink
Added advancement for disc and renamed to "Music Disc" to fit with ot…
Browse files Browse the repository at this point in the history
…hers.
  • Loading branch information
JuniorWolfgamingDE committed Jul 1, 2024
1 parent 192431c commit 3e87172
Show file tree
Hide file tree
Showing 5 changed files with 84 additions and 5 deletions.
20 changes: 18 additions & 2 deletions assortedcuisine.mcreator
Original file line number Diff line number Diff line change
Expand Up @@ -2383,6 +2383,20 @@
]
},
"path": "~/Dairy"
},
{
"name": "CheeseMusicDiscAdvancement",
"type": "achievement",
"sortid": 149,
"compiles": true,
"locked_code": false,
"registry_name": "cheese_music_disc_advancement",
"metadata": {
"files": [
"src/main/resources/data/assortedcuisine/advancements/cheese_music_disc_advancement.json"
]
},
"path": "~/Dairy/Achievement"
}
],
"variable_elements": [
Expand Down Expand Up @@ -2417,15 +2431,17 @@
"item.assortedcuisine.sparkling_water_bottle": "Bottle of Sparkling Water",
"item.assortedcuisine.pumpkin_slice": "Pumpkin Slice",
"item.assortedcuisine.cheese_burger": "Cheese Burger",
"advancements.cheese_music_disc_advancement.title": "Sliced, melted or diced.",
"item_group.assortedcuisine.assorted_cuisine": "Assorted Cuisine",
"item.assortedcuisine.root_soda": "Root Beer",
"item.assortedcuisine.whisk": "Whisk",
"item.assortedcuisine.slurm_soda": "Slurm",
"item.assortedcuisine.bread_slice": "Bread Slice",
"item.assortedcuisine.cheese_music_disc.desc": "sisthek - CHEESE",
"item.assortedcuisine.cocoa_soda": "Cocoa Drink",
"item.assortedcuisine.hot_chocolate_milk": "Hot Chocolate Milk",
"item.assortedcuisine.cocoa_soda": "Cocoa Drink",
"item.assortedcuisine.golden_apple_soda": "Golden Apple Soda",
"advancements.cheese_music_disc_advancement.descr": "Acquire sisthek\u0027s CHEESE music disc by producing ridiculous amounts of cheese.",
"item.assortedcuisine.mr_cheese_item": "MrCheeseItem",
"subtitles.mrcheese": "My name Mr. Cheese!",
"item.assortedcuisine.bandage": "Bandage",
Expand All @@ -2445,7 +2461,7 @@
"item.assortedcuisine.shroom_soda": "Mushroom Soda",
"item.assortedcuisine.raw_pork_pie": "Raw Pork Pie",
"block.assortedcuisine.apple_pie": "Apple Pie",
"item.assortedcuisine.cheese_music_disc": "Cheese Music Disc",
"item.assortedcuisine.cheese_music_disc": "Music Disc",
"death.attack.cuisine.spikedpumpkin": "A player drank to much spiked soda",
"item.assortedcuisine.knife": "Knife",
"item.assortedcuisine.super_sugar": "Super Sugar",
Expand Down
2 changes: 1 addition & 1 deletion elements/CheeseMusicDisc.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"_fv": 57,
"_type": "musicdisc",
"definition": {
"name": "Cheese Music Disc",
"name": "Music Disc",
"rarity": "RARE",
"texture": "cheeseblock_item",
"description": "sisthek - CHEESE",
Expand Down
25 changes: 25 additions & 0 deletions elements/CheeseMusicDiscAdvancement.mod.json
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>"
}
}
6 changes: 4 additions & 2 deletions src/main/resources/assets/assortedcuisine/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@
"item.assortedcuisine.sparkling_water_bottle": "Bottle of Sparkling Water",
"item.assortedcuisine.pumpkin_slice": "Pumpkin Slice",
"item.assortedcuisine.cheese_burger": "Cheese Burger",
"advancements.cheese_music_disc_advancement.title": "Sliced, melted or diced.",
"item_group.assortedcuisine.assorted_cuisine": "Assorted Cuisine",
"item.assortedcuisine.root_soda": "Root Beer",
"item.assortedcuisine.whisk": "Whisk",
"item.assortedcuisine.slurm_soda": "Slurm",
"item.assortedcuisine.bread_slice": "Bread Slice",
"item.assortedcuisine.cheese_music_disc.desc": "sisthek - CHEESE",
"item.assortedcuisine.cocoa_soda": "Cocoa Drink",
"item.assortedcuisine.hot_chocolate_milk": "Hot Chocolate Milk",
"item.assortedcuisine.cocoa_soda": "Cocoa Drink",
"item.assortedcuisine.golden_apple_soda": "Golden Apple Soda",
"advancements.cheese_music_disc_advancement.descr": "Acquire sisthek\u0027s CHEESE music disc by producing ridiculous amounts of cheese.",
"item.assortedcuisine.mr_cheese_item": "MrCheeseItem",
"subtitles.mrcheese": "My name Mr. Cheese!",
"item.assortedcuisine.bandage": "Bandage",
Expand All @@ -31,7 +33,7 @@
"item.assortedcuisine.shroom_soda": "Mushroom Soda",
"item.assortedcuisine.raw_pork_pie": "Raw Pork Pie",
"block.assortedcuisine.apple_pie": "Apple Pie",
"item.assortedcuisine.cheese_music_disc": "Cheese Music Disc",
"item.assortedcuisine.cheese_music_disc": "Music Disc",
"death.attack.cuisine.spikedpumpkin": "A player drank to much spiked soda",
"item.assortedcuisine.knife": "Knife",
"item.assortedcuisine.super_sugar": "Super Sugar",
Expand Down
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"
}

0 comments on commit 3e87172

Please sign in to comment.