Added toasts for dist. tower, s.c.m. and wire mill

This commit is contained in:
Ayutac 2022-02-11 18:19:15 +01:00
parent 6cf95524aa
commit 7d9b82c5e2
7 changed files with 225 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:distillation_tower/diesel"
]
},
"criteria": {
"has_oil": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"fluid": "techreborn:oil",
"holder": "techreborn:cell"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:distillation_tower/diesel"
}
}
},
"requirements": [
[
"has_oil",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:solid_canning_machine/bio_cell"
]
},
"criteria": {
"has_compressed_plantball": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:compressed_plantball"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:solid_canning_machine/bio_cell"
}
}
},
"requirements": [
[
"has_compressed_plantball",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:solid_canning_machine/sulfur_cell"
]
},
"criteria": {
"has_sulfur_dust": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:sulfur_dust"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:solid_canning_machine/sulfur_cell"
}
}
},
"requirements": [
[
"has_sulfur_dust",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:wire_mill/copper_cable"
]
},
"criteria": {
"has_copper_ingot": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["minecraft:copper_ingot"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:wire_mill/copper_cable"
}
}
},
"requirements": [
[
"has_copper_ingot",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:wire_mill/gold_cable"
]
},
"criteria": {
"has_gold_ingot": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["minecraft:gold_ingot"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:wire_mill/gold_cable"
}
}
},
"requirements": [
[
"has_gold_ingot",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:wire_mill/hv_cable"
]
},
"criteria": {
"has_refined_iron_ingot": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:refined_iron_ingot"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:wire_mill/hv_cable"
}
}
},
"requirements": [
[
"has_refined_iron_ingot",
"has_the_recipe"
]
]
}

View file

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