Skip to content

Commit

Permalink
Add watering can recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
Juuxel committed Nov 16, 2023
1 parent f89ded2 commit af4ea5a
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"adorn:watering_can"
]
},
"criteria": {
"has_copper_ingot": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "c:copper_ingots"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "adorn:watering_can"
}
}
},
"requirements": [
[
"has_copper_ingot",
"has_the_recipe"
]
]
}
19 changes: 19 additions & 0 deletions common/src/main/resources/data/adorn/recipes/watering_can.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"type": "crafting_shaped",
"pattern": [
" I ",
"IBI",
" II"
],
"key": {
"I": {
"tag": "c:copper_ingots"
},
"B": {
"tag": "c:empty_buckets"
}
},
"result": {
"item": "adorn:watering_can"
}
}
6 changes: 6 additions & 0 deletions forge/src/main/resources/data/c/tags/items/empty_buckets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"#forge:buckets/empty"
]
}
6 changes: 6 additions & 0 deletions forge/src/main/resources/data/forge/tags/items/buckets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"#forge:buckets/empty"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"minecraft:bucket"
]
}

0 comments on commit af4ea5a

Please sign in to comment.