Change ceiling fan recipe

This commit is contained in:
Andrew-71 2023-10-19 21:04:17 +03:00
parent 55724bb0a2
commit 7b3aedbc94
4 changed files with 26 additions and 43 deletions

View file

@ -1,6 +1,18 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_iron_ingot": {
"conditions": {
"items": [
{
"items": [
"minecraft:iron_ingot"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_iron_nugget": {
"conditions": {
"items": [
@ -13,42 +25,17 @@
},
"trigger": "minecraft:inventory_changed"
},
"has_stick": {
"conditions": {
"items": [
{
"items": [
"minecraft:stick"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "new_soviet:ceiling_fan"
},
"trigger": "minecraft:recipe_unlocked"
},
"has_white_wool": {
"conditions": {
"items": [
{
"items": [
"minecraft:white_wool"
]
}
]
},
"trigger": "minecraft:inventory_changed"
}
},
"requirements": [
[
"has_iron_nugget",
"has_stick",
"has_white_wool",
"has_iron_ingot",
"has_the_recipe"
]
],

View file

@ -2,19 +2,16 @@
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"I": {
"item": "minecraft:iron_ingot"
},
"N": {
"item": "minecraft:iron_nugget"
},
"S": {
"item": "minecraft:stick"
},
"W": {
"item": "minecraft:white_wool"
}
},
"pattern": [
" S ",
"WNW"
" I ",
"NNN"
],
"result": {
"item": "new_soviet:ceiling_fan"