Added toasts for crafting recipes not in subfolders

This commit is contained in:
Ayutac 2022-01-02 19:52:42 +01:00
parent 954afe21a5
commit 2928d8a713
5 changed files with 182 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/cell"
]
},
"criteria": {
"has_tin_ingot": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "c:tin_ingots"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/cell"
}
}
},
"requirements": [
[
"has_tin_ingot",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,43 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/frequency_transmitter"
]
},
"criteria": {
"has_circuit": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:electronic_circuit"]
}
]
}
},
"has_cable": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:insulated_gold_cable"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/frequency_transmitter"
}
}
},
"requirements": [
[
"has_circuit",
"has_cable",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,43 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/manual"
]
},
"criteria": {
"has_ingot": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:refined_iron_ingot"]
}
]
}
},
"has_book": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["minecraft:book"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/manual"
}
}
},
"requirements": [
[
"has_ingot",
"has_book",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/paper"
]
},
"criteria": {
"has_saw_dust": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "c:saw_dusts"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/paper"
}
}
},
"requirements": [
[
"has_saw_dust",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/scrap_box"
]
},
"criteria": {
"has_scrap": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:scrap"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/scrap_box"
}
}
},
"requirements": [
[
"has_scrap",
"has_the_recipe"
]
]
}