Skip to content

Commit

Permalink
reinforced deepslate recipe & advancements
Browse files Browse the repository at this point in the history
  • Loading branch information
whwdzg committed Jan 16, 2025
1 parent 242d7e2 commit ce7b5c3
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
39 changes: 39 additions & 0 deletions data/whw_recipe/advancement/recipe/reinforced_deepslate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"criteria": {
"deepslate": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["minecraft:deepslate"],
"count": {
"min": 1
}
}
]
}
},
"bone": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["minecraft:bone"],
"count": {
"min": 2
}
}
]
}
}
},
"rewards":{
"recipes": ["whw_recipe:reinforced_deepslate"]
},
"requirements": [
[
"deepslate",
"bone"
]
]
}
18 changes: 18 additions & 0 deletions data/whw_recipe/recipe/reinforced_deepslate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"#X#"
],
"key": {
"#": [
"minecraft:bone"
],
"X": [
"minecraft:deepslate"
]
},
"result": {
"id": "minecraft:reinforced_deepslate",
"count":1
}
}

0 comments on commit ce7b5c3

Please sign in to comment.