-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat.recipes: implement new Infinity Smithing recipes and advancements
- Add Infinity Smithing Template item - Create new recipes for Endless Cake, Infinity Bucket, and Infinity Totem - Generate corresponding advancements for new recipes - Update translations and rename existing items
- Loading branch information
Showing
11 changed files
with
234 additions
and
60 deletions.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
src/generated/resources/data/avaritia/advancements/recipes/misc/endless_cake.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,35 @@ | ||
{ | ||
"parent": "minecraft:recipes/root", | ||
"criteria": { | ||
"has_item": { | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": [ | ||
"avaritia:infinity_smithing_template" | ||
] | ||
} | ||
] | ||
}, | ||
"trigger": "minecraft:inventory_changed" | ||
}, | ||
"has_the_recipe": { | ||
"conditions": { | ||
"recipe": "avaritia:endless_cake" | ||
}, | ||
"trigger": "minecraft:recipe_unlocked" | ||
} | ||
}, | ||
"requirements": [ | ||
[ | ||
"has_item", | ||
"has_the_recipe" | ||
] | ||
], | ||
"rewards": { | ||
"recipes": [ | ||
"avaritia:endless_cake" | ||
] | ||
}, | ||
"sends_telemetry_event": false | ||
} |
35 changes: 35 additions & 0 deletions
35
src/generated/resources/data/avaritia/advancements/recipes/misc/infinity_bucket.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,35 @@ | ||
{ | ||
"parent": "minecraft:recipes/root", | ||
"criteria": { | ||
"has_item": { | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": [ | ||
"avaritia:infinity_smithing_template" | ||
] | ||
} | ||
] | ||
}, | ||
"trigger": "minecraft:inventory_changed" | ||
}, | ||
"has_the_recipe": { | ||
"conditions": { | ||
"recipe": "avaritia:infinity_bucket" | ||
}, | ||
"trigger": "minecraft:recipe_unlocked" | ||
} | ||
}, | ||
"requirements": [ | ||
[ | ||
"has_item", | ||
"has_the_recipe" | ||
] | ||
], | ||
"rewards": { | ||
"recipes": [ | ||
"avaritia:infinity_bucket" | ||
] | ||
}, | ||
"sends_telemetry_event": false | ||
} |
35 changes: 35 additions & 0 deletions
35
src/generated/resources/data/avaritia/advancements/recipes/misc/infinity_totem.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,35 @@ | ||
{ | ||
"parent": "minecraft:recipes/root", | ||
"criteria": { | ||
"has_item": { | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": [ | ||
"avaritia:infinity_smithing_template" | ||
] | ||
} | ||
] | ||
}, | ||
"trigger": "minecraft:inventory_changed" | ||
}, | ||
"has_the_recipe": { | ||
"conditions": { | ||
"recipe": "avaritia:infinity_totem" | ||
}, | ||
"trigger": "minecraft:recipe_unlocked" | ||
} | ||
}, | ||
"requirements": [ | ||
[ | ||
"has_item", | ||
"has_the_recipe" | ||
] | ||
], | ||
"rewards": { | ||
"recipes": [ | ||
"avaritia:infinity_totem" | ||
] | ||
}, | ||
"sends_telemetry_event": false | ||
} |
35 changes: 35 additions & 0 deletions
35
src/generated/resources/data/avaritia/advancements/recipes/misc/neutron_horse_armor.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,35 @@ | ||
{ | ||
"parent": "minecraft:recipes/root", | ||
"criteria": { | ||
"has_item": { | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": [ | ||
"avaritia:infinity_smithing_template" | ||
] | ||
} | ||
] | ||
}, | ||
"trigger": "minecraft:inventory_changed" | ||
}, | ||
"has_the_recipe": { | ||
"conditions": { | ||
"recipe": "avaritia:neutron_horse_armor" | ||
}, | ||
"trigger": "minecraft:recipe_unlocked" | ||
} | ||
}, | ||
"requirements": [ | ||
[ | ||
"has_item", | ||
"has_the_recipe" | ||
] | ||
], | ||
"rewards": { | ||
"recipes": [ | ||
"avaritia:neutron_horse_armor" | ||
] | ||
}, | ||
"sends_telemetry_event": false | ||
} |
23 changes: 23 additions & 0 deletions
23
src/generated/resources/data/avaritia/recipes/endless_cake.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,23 @@ | ||
{ | ||
"type": "avaritia:extreme_smithing", | ||
"addition": [ | ||
{ | ||
"item": "minecraft:golden_carrot" | ||
}, | ||
{ | ||
"item": "minecraft:dragon_egg" | ||
}, | ||
{ | ||
"item": "avaritia:enhancement_core" | ||
} | ||
], | ||
"base": { | ||
"item": "minecraft:cake" | ||
}, | ||
"result": { | ||
"item": "avaritia:endless_cake" | ||
}, | ||
"template": { | ||
"item": "avaritia:infinity_smithing_template" | ||
} | ||
} |
39 changes: 14 additions & 25 deletions
39
src/generated/resources/data/avaritia/recipes/infinity_bucket.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 |
---|---|---|
@@ -1,34 +1,23 @@ | ||
{ | ||
"type": "avaritia:shaped_table", | ||
"category": "equipment", | ||
"key": { | ||
"B": { | ||
"item": "minecraft:bucket" | ||
"type": "avaritia:extreme_smithing", | ||
"addition": [ | ||
{ | ||
"item": "minecraft:lava_bucket" | ||
}, | ||
"I": { | ||
"item": "avaritia:infinity_ingot" | ||
{ | ||
"item": "minecraft:powder_snow_bucket" | ||
}, | ||
"N": { | ||
"item": "avaritia:neutron_ingot" | ||
}, | ||
"X": { | ||
"item": "avaritia:infinity_catalyst" | ||
{ | ||
"item": "avaritia:enhancement_core" | ||
} | ||
}, | ||
"pattern": [ | ||
"NN NN", | ||
"NNX XNN", | ||
"NBBX XBBN", | ||
"NBBI IBBN", | ||
"NBBI IBBN", | ||
"NBBIIIBBN", | ||
"NNBBBBBNN", | ||
" NNBBBNN ", | ||
" NNNNN " | ||
], | ||
"base": { | ||
"item": "minecraft:bucket" | ||
}, | ||
"result": { | ||
"item": "avaritia:infinity_bucket" | ||
}, | ||
"show_notification": true, | ||
"tier": 4 | ||
"template": { | ||
"item": "avaritia:infinity_smithing_template" | ||
} | ||
} |
File renamed without changes.
23 changes: 23 additions & 0 deletions
23
src/generated/resources/data/avaritia/recipes/neutron_horse_armor.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,23 @@ | ||
{ | ||
"type": "avaritia:extreme_smithing", | ||
"addition": [ | ||
{ | ||
"item": "minecraft:potion" | ||
}, | ||
{ | ||
"item": "minecraft:blue_ice" | ||
}, | ||
{ | ||
"item": "avaritia:enhancement_core" | ||
} | ||
], | ||
"base": { | ||
"item": "minecraft:diamond_horse_armor" | ||
}, | ||
"result": { | ||
"item": "avaritia:neutron_horse_armor" | ||
}, | ||
"template": { | ||
"item": "avaritia:infinity_smithing_template" | ||
} | ||
} |
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