Add some recipes

This commit is contained in:
Andrew-71 2023-10-13 20:47:50 +03:00
parent f504c30e77
commit f0e54ff7f0
13 changed files with 379 additions and 4 deletions

View file

@ -1,6 +1,18 @@
{
"parent": "minecraft:new_soviet/sickle",
"criteria": {
"got_sickle": {
"conditions": {
"items": [
{
"items": [
"new_soviet:sickle"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"kill": {
"conditions": {
"entity": [
@ -43,6 +55,9 @@
}
},
"requirements": [
[
"got_sickle"
],
[
"kill"
]

View file

@ -0,0 +1,48 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_lamp_post_base": {
"conditions": {
"items": [
{
"items": [
"new_soviet:lamp_post_base"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_shroomlight": {
"conditions": {
"items": [
{
"items": [
"minecraft:shroomlight"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "new_soviet:big_post_lamp"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_lamp_post_base",
"has_shroomlight",
"has_the_recipe"
]
],
"rewards": {
"recipes": [
"new_soviet:big_post_lamp"
]
},
"sends_telemetry_event": false
}

View file

@ -0,0 +1,35 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_iron_bars": {
"conditions": {
"items": [
{
"items": [
"minecraft:iron_bars"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "new_soviet:handrail"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_iron_bars",
"has_the_recipe"
]
],
"rewards": {
"recipes": [
"new_soviet:handrail"
]
},
"sends_telemetry_event": false
}

View file

@ -1,6 +1,30 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_iron_ingot": {
"conditions": {
"items": [
{
"items": [
"minecraft:iron_ingot"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_iron_nugget": {
"conditions": {
"items": [
{
"items": [
"minecraft:iron_nugget"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_light_bulb_item": {
"conditions": {
"items": [
@ -23,6 +47,8 @@
"requirements": [
[
"has_light_bulb_item",
"has_iron_ingot",
"has_iron_nugget",
"has_the_recipe"
]
],

View file

@ -0,0 +1,61 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_iron_nugget": {
"conditions": {
"items": [
{
"items": [
"minecraft:iron_nugget"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_note_block": {
"conditions": {
"items": [
{
"items": [
"minecraft:note_block"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_redstone": {
"conditions": {
"items": [
{
"items": [
"minecraft:redstone"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "new_soviet:siren"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_redstone",
"has_iron_nugget",
"has_note_block",
"has_the_recipe"
]
],
"rewards": {
"recipes": [
"new_soviet:siren"
]
},
"sends_telemetry_event": false
}

View file

@ -0,0 +1,61 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_glass_bottle": {
"conditions": {
"items": [
{
"items": [
"minecraft:glass_bottle"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_glowstone_dust": {
"conditions": {
"items": [
{
"items": [
"minecraft:glowstone_dust"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_iron_nugget": {
"conditions": {
"items": [
{
"items": [
"minecraft:iron_nugget"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "new_soviet:light_bulb_item"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_glass_bottle",
"has_iron_nugget",
"has_glowstone_dust",
"has_the_recipe"
]
],
"rewards": {
"recipes": [
"new_soviet:light_bulb_item"
]
},
"sends_telemetry_event": false
}

View file

@ -0,0 +1,21 @@
{
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"P": {
"item": "new_soviet:lamp_post_base"
},
"S": {
"item": "minecraft:shroomlight"
}
},
"pattern": [
" S ",
" P ",
" "
],
"result": {
"item": "new_soviet:big_post_lamp"
},
"show_notification": true
}

View file

@ -0,0 +1,22 @@
{
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"B": {
"item": "minecraft:iron_bars"
},
"S": {
"tag": "minecraft:wooden_slabs"
}
},
"pattern": [
" S ",
" B ",
" "
],
"result": {
"count": 2,
"item": "new_soviet:handrail"
},
"show_notification": true
}

View file

@ -0,0 +1,24 @@
{
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"B": {
"item": "minecraft:glass_bottle"
},
"D": {
"item": "minecraft:glowstone_dust"
},
"N": {
"item": "minecraft:iron_nugget"
}
},
"pattern": [
" D ",
" B ",
" N "
],
"result": {
"item": "new_soviet:light_bulb_item"
},
"show_notification": true
}

View file

@ -0,0 +1,24 @@
{
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"I": {
"item": "minecraft:iron_nugget"
},
"N": {
"item": "minecraft:note_block"
},
"R": {
"item": "minecraft:redstone"
}
},
"pattern": [
" ",
"IRI",
"NIN"
],
"result": {
"item": "new_soviet:siren"
},
"show_notification": true
}