Added toasts for crafting_table/unit/storage

This commit is contained in:
Ayutac 2022-02-11 17:38:17 +01:00
parent 559f32200e
commit a6c04dc6a2
5 changed files with 193 additions and 0 deletions

View file

@ -0,0 +1,43 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/unit/storage/advanced_storage_unit"
]
},
"criteria": {
"has_basic_storage_unit": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:basic_storage_unit"]
}
]
}
},
"has_digital_display": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:digital_display"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/unit/storage/advanced_storage_unit"
}
}
},
"requirements": [
[
"has_basic_storage_unit",
"has_digital_display",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,43 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/unit/storage/basic_storage_unit"
]
},
"criteria": {
"has_crude_storage_unit": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:crude_storage_unit"]
}
]
}
},
"has_basic_display": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:basic_display"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/unit/storage/basic_storage_unit"
}
}
},
"requirements": [
[
"has_crude_storage_unit",
"has_basic_display",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/unit/storage/crude_storage_unit"
]
},
"criteria": {
"has_barrel": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "blockus:barrels"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/unit/storage/crude_storage_unit"
}
}
},
"requirements": [
[
"has_barrel",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/unit/storage/industrial_storage_unit"
]
},
"criteria": {
"has_advanced_storage_unit": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:advanced_storage_unit"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/unit/storage/industrial_storage_unit"
}
}
},
"requirements": [
[
"has_advanced_storage_unit",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,43 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/unit/storage/quantum_storage_unit"
]
},
"criteria": {
"has_industrial_storage_unit": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:industrial_storage_unit"]
}
]
}
},
"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/unit/storage/quantum_storage_unit"
}
}
},
"requirements": [
[
"has_industrial_storage_unit",
"has_data_storage_chip",
"has_the_recipe"
]
]
}