Added toasts for crafting_table/machine_block

This commit is contained in:
Ayutac 2022-01-02 23:09:15 +01:00
parent 3f26e24184
commit f4d75ef59b
10 changed files with 430 additions and 0 deletions

View file

@ -0,0 +1,43 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/machine_block/advanced_machine_casing"
]
},
"criteria": {
"has_advanced_machine_frame": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:advanced_machine_frame"]
}
]
}
},
"has_steel_plate": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "c:steel_plates"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/machine_block/advanced_machine_casing"
}
}
},
"requirements": [
[
"has_advanced_machine_frame",
"has_steel_plate",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,43 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/machine_block/advanced_machine_casing_alt"
]
},
"criteria": {
"has_basic_machine_casing": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:basic_machine_casing"]
}
]
}
},
"has_steel_plate": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "c:steel_plates"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/machine_block/advanced_machine_casing_alt"
}
}
},
"requirements": [
[
"has_basic_machine_casing",
"has_steel_plate",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,54 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/machine_block/advanced_machine_frame"
]
},
"criteria": {
"has_basic_machine_frame": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:basic_machine_frame"]
}
]
}
},
"has_advanced_alloy_plate": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:advanced_alloy_plate"]
}
]
}
},
"has_carbon_plate": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:carbon_plate"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/machine_block/advanced_machine_frame"
}
}
},
"requirements": [
[
"has_basic_machine_frame",
"has_advanced_alloy_plate",
"has_carbon_plate",
"has_the_recipe"
]
]
}

View file

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

View file

@ -0,0 +1,43 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/machine_block/basic_machine_casing_alt"
]
},
"criteria": {
"has_basic_machine_frame": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:basic_machine_frame"]
}
]
}
},
"has_iron_plate": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "c:iron_plates"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/machine_block/basic_machine_casing_alt"
}
}
},
"requirements": [
[
"has_basic_machine_frame",
"has_iron_plate",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/machine_block/basic_machine_casing_alt_alt"
]
},
"criteria": {
"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/machine_block/basic_machine_casing_alt_alt"
}
}
},
"requirements": [
[
"has_aluminum_plate",
"has_the_recipe"
]
]
}

View file

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

View file

@ -0,0 +1,54 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/machine_block/industrial_machine_casing"
]
},
"criteria": {
"has_industrial_machine_frame": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:industrial_machine_frame"]
}
]
}
},
"has_chrome_plate": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "c:chrome_plates"
}
]
}
},
"has_data_storage_core": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:data_storage_core"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/machine_block/industrial_machine_casing"
}
}
},
"requirements": [
[
"has_industrial_machine_frame",
"has_chrome_plate",
"has_data_storage_core",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,43 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/machine_block/industrial_machine_casing_alt"
]
},
"criteria": {
"has_advanced_machine_casing": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:advanced_machine_casing"]
}
]
}
},
"has_chrome_plate": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "c:chrome_plates"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/machine_block/industrial_machine_casing_alt"
}
}
},
"requirements": [
[
"has_advanced_machine_casing",
"has_chrome_plate",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,54 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/machine_block/industrial_machine_frame"
]
},
"criteria": {
"has_advanced_machine_frame": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:advanced_machine_frame"]
}
]
}
},
"has_chrome_plate": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "c:chrome_plate"
}
]
}
},
"has_titanium_plate": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "c:titanium_plate"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/machine_block/industrial_machine_frame"
}
}
},
"requirements": [
[
"has_advanced_machine_frame",
"has_chrome_plate",
"has_titanium_plate",
"has_the_recipe"
]
]
}