Skip to content

Commit e08bd88

Browse files
authored
Merge pull request #13 from Brassburg/Bundle-Add
Bundle add
2 parents 95ea5d8 + 0602594 commit e08bd88

File tree

2 files changed

+55
-0
lines changed

2 files changed

+55
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"parent": "minecraft:recipes/root",
3+
"criteria": {
4+
"has_string": {
5+
"conditions": {
6+
"items": [
7+
{
8+
"items": [
9+
"minecraft:string"
10+
]
11+
}
12+
]
13+
},
14+
"trigger": "minecraft:inventory_changed"
15+
},
16+
"has_the_recipe": {
17+
"conditions": {
18+
"recipe": "minecraft:bundle"
19+
},
20+
"trigger": "minecraft:recipe_unlocked"
21+
}
22+
},
23+
"requirements": [
24+
[
25+
"has_string",
26+
"has_the_recipe"
27+
]
28+
],
29+
"rewards": {
30+
"recipes": [
31+
"minecraft:bundle"
32+
]
33+
},
34+
"sends_telemetry_event": false
35+
}

data/minecraft/recipes/bundle.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"type": "minecraft:crafting_shaped",
3+
"category": "equipment",
4+
"key": {
5+
"#": {
6+
"item": "minecraft:leather"
7+
},
8+
"-": {
9+
"item": "minecraft:string"
10+
}
11+
},
12+
"pattern": [
13+
"-",
14+
"#"
15+
],
16+
"result": {
17+
"item": "minecraft:bundle"
18+
},
19+
"show_notification": true
20+
}

0 commit comments

Comments
 (0)