Added toasts for fluids in chem. reactor

This commit is contained in:
Ayutac 2022-02-11 18:05:05 +01:00
parent 5f48f56615
commit 5c8d405a25
12 changed files with 468 additions and 0 deletions

View file

@ -0,0 +1,45 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:chemical_reactor/calcium_carbonate"
]
},
"criteria": {
"has_carbon": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"fluid": "techreborn:carbon",
"holder": "techreborn:cell"
}
]
}
},
"has_calcium": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"fluid": "techreborn:calcium",
"holder": "techreborn:cell"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:chemical_reactor/calcium_carbonate"
}
}
},
"requirements": [
[
"has_carbon",
"has_calcium",
"has_the_recipe"
]
]
}

View file

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

View file

@ -0,0 +1,45 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:chemical_reactor/methane"
]
},
"criteria": {
"has_carbon": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"fluid": "techreborn:carbon",
"holder": "techreborn:cell"
}
]
}
},
"has_hydrogen": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"fluid": "techreborn:hydrogen",
"holder": "techreborn:cell"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:chemical_reactor/hydrogen_carbonate"
}
}
},
"requirements": [
[
"has_carbon",
"has_hydrogen",
"has_the_recipe"
]
]
}

View file

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

View file

@ -0,0 +1,45 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:chemical_reactor/nitro_diesel"
]
},
"criteria": {
"has_glyceryl": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"fluid": "techreborn:glyceryl",
"holder": "techreborn:cell"
}
]
}
},
"has_diesel": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"fluid": "techreborn:diesel",
"holder": "techreborn:cell"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:chemical_reactor/nitro_diesel"
}
}
},
"requirements": [
[
"has_glyceryl",
"has_diesel",
"has_the_recipe"
]
]
}

View file

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

View file

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

View file

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

View file

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

View file

@ -0,0 +1,45 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:chemical_reactor/sodium_sulfide"
]
},
"criteria": {
"has_sulfur": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"fluid": "techreborn:sulfur",
"holder": "techreborn:cell"
}
]
}
},
"has_sodium": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"fluid": "techreborn:sodium",
"holder": "techreborn:cell"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:chemical_reactor/sodium_sulfide"
}
}
},
"requirements": [
[
"has_sulfur",
"has_sodium",
"has_the_recipe"
]
]
}

View file

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

View file

@ -0,0 +1,45 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:chemical_reactor/water"
]
},
"criteria": {
"has_compressed_air": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"fluid": "techreborn:compressed_air",
"holder": "techreborn:cell"
}
]
}
},
"has_hydrogen": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"fluid": "techreborn:hydrogen",
"holder": "techreborn:cell"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:chemical_reactor/water"
}
}
},
"requirements": [
[
"has_compressed_air",
"has_hydrogen",
"has_the_recipe"
]
]
}