Integrate screwdriver

This commit is contained in:
Andrew-71 2024-03-07 12:23:21 +03:00
parent 1b290d9169
commit 8f1af13933
6 changed files with 81 additions and 1 deletions

View file

@ -0,0 +1,48 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_iron_ingot": {
"conditions": {
"items": [
{
"items": [
"minecraft:iron_ingot"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_stick": {
"conditions": {
"items": [
{
"items": [
"minecraft:stick"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "new_soviet:screwdriver"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_iron_ingot",
"has_stick",
"has_the_recipe"
]
],
"rewards": {
"recipes": [
"new_soviet:screwdriver"
]
},
"sends_telemetry_event": false
}

View file

@ -0,0 +1,20 @@
{
"type": "minecraft:crafting_shaped",
"category": "equipment",
"key": {
"I": {
"item": "minecraft:iron_ingot"
},
"S": {
"item": "minecraft:stick"
}
},
"pattern": [
"I",
"S"
],
"result": {
"item": "new_soviet:screwdriver"
},
"show_notification": true
}