Integrate screwdriver
This commit is contained in:
parent
1b290d9169
commit
8f1af13933
6 changed files with 81 additions and 1 deletions
|
@ -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
|
||||
}
|
20
src/main/generated/data/new_soviet/recipes/screwdriver.json
Normal file
20
src/main/generated/data/new_soviet/recipes/screwdriver.json
Normal 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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue