Skip to content

Commit

Permalink
Merge pull request #13 from Brassburg/Bundle-Add
Browse files Browse the repository at this point in the history
Bundle add
  • Loading branch information
Xanth27 authored Dec 28, 2024
2 parents 95ea5d8 + 0602594 commit e08bd88
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
35 changes: 35 additions & 0 deletions data/minecraft/advancements/recipes/tools/bundle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_string": {
"conditions": {
"items": [
{
"items": [
"minecraft:string"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "minecraft:bundle"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_string",
"has_the_recipe"
]
],
"rewards": {
"recipes": [
"minecraft:bundle"
]
},
"sends_telemetry_event": false
}
20 changes: 20 additions & 0 deletions data/minecraft/recipes/bundle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"type": "minecraft:crafting_shaped",
"category": "equipment",
"key": {
"#": {
"item": "minecraft:leather"
},
"-": {
"item": "minecraft:string"
}
},
"pattern": [
"-",
"#"
],
"result": {
"item": "minecraft:bundle"
},
"show_notification": true
}

0 comments on commit e08bd88

Please sign in to comment.