Added toasts for crafting_table/armor

This commit is contained in:
Ayutac 2022-02-11 17:08:20 +01:00
parent 3db7afef40
commit 33a3b5213f
7 changed files with 367 additions and 0 deletions

View file

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

View file

@ -0,0 +1,43 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/armor/lapotronic_orbpack"
]
},
"criteria": {
"has_lapotronic_orb": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:lapotronic_orb"]
}
]
}
},
"has_lithium_ion_batpack": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:lithium_ion_batpack"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/armor/lapotronic_orbpack"
}
}
},
"requirements": [
[
"has_lapotronic_orb",
"has_lithium_ion_batpack",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,43 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/armor/lithium_ion_batpack"
]
},
"criteria": {
"has_lithium_ion_battery": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:lithium_ion_battery"]
}
]
}
},
"has_aluminum_plate": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "c:aluminum_plates"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/armor/lithium_ion_batpack"
}
}
},
"requirements": [
[
"has_lithium_ion_battery",
"has_aluminum_plate",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,54 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/armor/quantum_boots"
]
},
"criteria": {
"has_lapotronic_orb": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:lapotronic_orb"]
}
]
}
},
"has_superconductor": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:superconductor"]
}
]
}
},
"has_data_storage_chip": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:data_storage_chip"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/armor/quantum_boots"
}
}
},
"requirements": [
[
"has_lapotronic_orb",
"has_superconductor",
"has_data_storage_chip",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,76 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/armor/quantum_chestplate"
]
},
"criteria": {
"has_lapotronic_orb": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:lapotronic_orb"]
}
]
}
},
"has_superconductor": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:superconductor"]
}
]
}
},
"has_data_storage_chip": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:data_storage_chip"]
}
]
}
},
"has_iridium_neutron_reflector": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:iridium_neutron_reflector"]
}
]
}
},
"has_tungstensteel_plate": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "c:tungstensteel_plates"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/armor/quantum_chestplate"
}
}
},
"requirements": [
[
"has_lapotronic_orb",
"has_superconductor",
"has_data_storage_chip",
"has_iridium_neutron_reflector",
"has_tungstensteel_plate",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,54 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/armor/quantum_helmet"
]
},
"criteria": {
"has_lapotronic_orb": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:lapotronic_orb"]
}
]
}
},
"has_superconductor": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:superconductor"]
}
]
}
},
"has_data_storage_chip": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:data_storage_chip"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/armor/quantum_helmet"
}
}
},
"requirements": [
[
"has_lapotronic_orb",
"has_superconductor",
"has_data_storage_chip",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,65 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/armor/quantum_leggings"
]
},
"criteria": {
"has_lapotronic_orb": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:lapotronic_orb"]
}
]
}
},
"has_superconductor": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:superconductor"]
}
]
}
},
"has_data_storage_chip": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:data_storage_chip"]
}
]
}
},
"has_tungstensteel_plate": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "c:tungstensteel_plates"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/armor/quantum_leggings"
}
}
},
"requirements": [
[
"has_lapotronic_orb",
"has_superconductor",
"has_data_storage_chip",
"has_tungstensteel_plate",
"has_the_recipe"
]
]
}