Skip to content

Commit

Permalink
feat: add tuff block series
Browse files Browse the repository at this point in the history
  • Loading branch information
jimchen5209 committed Aug 8, 2024
1 parent 3e6136c commit 2b242f4
Show file tree
Hide file tree
Showing 6 changed files with 153 additions and 0 deletions.
34 changes: 34 additions & 0 deletions data/ezrcp/advancement/recipe/restore_from_slab/polished_tuff.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_slab": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": [
"minecraft:polished_tuff_slab"
]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "ezrcp:restore_from_slab/polished_tuff"
}
}
},
"requirements": [
[
"has_slab",
"has_the_recipe"
]
],
"rewards": {
"recipes": [
"ezrcp:restore_from_slab/polished_tuff"
]
}
}
34 changes: 34 additions & 0 deletions data/ezrcp/advancement/recipe/restore_from_slab/tuff.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_slab": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": [
"minecraft:tuff_slab"
]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "ezrcp:restore_from_slab/tuff"
}
}
},
"requirements": [
[
"has_slab",
"has_the_recipe"
]
],
"rewards": {
"recipes": [
"ezrcp:restore_from_slab/tuff"
]
}
}
34 changes: 34 additions & 0 deletions data/ezrcp/advancement/recipe/restore_from_slab/tuff_bricks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_slab": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": [
"minecraft:tuff_brick_slab"
]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "ezrcp:restore_from_slab/tuff_bricks"
}
}
},
"requirements": [
[
"has_slab",
"has_the_recipe"
]
],
"rewards": {
"recipes": [
"ezrcp:restore_from_slab/tuff_bricks"
]
}
}
17 changes: 17 additions & 0 deletions data/ezrcp/recipe/restore_from_slab/polished_tuff.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"type": "minecraft:crafting_shaped",
"category": "building",
"group": "ezrcp:restore_fullblock_from_slab",
"pattern": [
"##"
],
"key": {
"#": {
"item": "minecraft:polished_tuff_slab"
}
},
"result": {
"id": "minecraft:polished_tuff",
"count": 1
}
}
17 changes: 17 additions & 0 deletions data/ezrcp/recipe/restore_from_slab/tuff.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"type": "minecraft:crafting_shaped",
"category": "building",
"group": "ezrcp:restore_fullblock_from_slab",
"pattern": [
"##"
],
"key": {
"#": {
"item": "minecraft:tuff_slab"
}
},
"result": {
"id": "minecraft:tuff",
"count": 1
}
}
17 changes: 17 additions & 0 deletions data/ezrcp/recipe/restore_from_slab/tuff_bricks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"type": "minecraft:crafting_shaped",
"category": "building",
"group": "ezrcp:restore_fullblock_from_slab",
"pattern": [
"##"
],
"key": {
"#": {
"item": "minecraft:tuff_brick_slab"
}
},
"result": {
"id": "minecraft:tuff_bricks",
"count": 1
}
}

0 comments on commit 2b242f4

Please sign in to comment.