Added toasts for crafting_table/misc_block

This commit is contained in:
Ayutac 2022-02-11 15:02:07 +01:00
parent cea01d6075
commit 97177000b0
16 changed files with 578 additions and 0 deletions

View file

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

View file

@ -0,0 +1,65 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/misc_block/gravel"
]
},
"criteria": {
"has_andesite_dust": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "c:andesite_dusts"
}
]
}
},
"has_diorite_dust": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "c:diorite_dusts"
}
]
}
},
"has_granite_dust": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "c:granite_dusts"
}
]
}
},
"has_flint": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["minecraft:flint"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/misc_block/gravel"
}
}
},
"requirements": [
[
"has_andesite_dust",
"has_diorite_dust",
"has_granite_dust",
"has_flint",
"has_the_recipe"
]
]
}

View file

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

View file

@ -0,0 +1,43 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/misc_block/reinforced_glass"
]
},
"criteria": {
"has_glass": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["minecraft:glass"]
}
]
}
},
"has_lead_plate": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "c:lead_plates"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/misc_block/reinforced_glass"
}
}
},
"requirements": [
[
"has_glass",
"has_lead_plate",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,43 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/misc_block/reinforced_glass_alt"
]
},
"criteria": {
"has_glass": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["minecraft:glass"]
}
]
}
},
"has_lead_plate": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "c:lead_plates"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/misc_block/reinforced_glass_alt"
}
}
},
"requirements": [
[
"has_glass",
"has_lead_plate",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/misc_block/rubber_button"
]
},
"criteria": {
"has_rubber_planks": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:rubber_planks"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/misc_block/rubber_button"
}
}
},
"requirements": [
[
"has_rubber_planks",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/misc_block/rubber_door"
]
},
"criteria": {
"has_rubber_planks": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:rubber_planks"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/misc_block/rubber_door"
}
}
},
"requirements": [
[
"has_rubber_planks",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/misc_block/rubber_fence"
]
},
"criteria": {
"has_rubber_planks": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:rubber_planks"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/misc_block/rubber_fence"
}
}
},
"requirements": [
[
"has_rubber_planks",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/misc_block/rubber_fence_gate"
]
},
"criteria": {
"has_rubber_planks": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:rubber_planks"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/misc_block/rubber_fence_gate"
}
}
},
"requirements": [
[
"has_rubber_planks",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/misc_block/rubber_plank_slab"
]
},
"criteria": {
"has_rubber_planks": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:rubber_planks"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/misc_block/rubber_plank_slab"
}
}
},
"requirements": [
[
"has_rubber_planks",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/misc_block/rubber_plank_stair"
]
},
"criteria": {
"has_rubber_planks": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:rubber_planks"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/misc_block/rubber_plank_stair"
}
}
},
"requirements": [
[
"has_rubber_planks",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/misc_block/rubber_pressure_plate"
]
},
"criteria": {
"has_rubber_planks": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:rubber_planks"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/misc_block/rubber_pressure_plate"
}
}
},
"requirements": [
[
"has_rubber_planks",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/misc_block/rubber_trapdoor"
]
},
"criteria": {
"has_rubber_planks": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:rubber_planks"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/misc_block/rubber_trapdoor"
}
}
},
"requirements": [
[
"has_rubber_planks",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/misc_block/rubber_wood"
]
},
"criteria": {
"has_rubber_log": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:rubber_log"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/misc_block/rubber_wood"
}
}
},
"requirements": [
[
"has_rubber_log",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/misc_block/sponge"
]
},
"criteria": {
"has_sponge_piece": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:sponge_piece"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/misc_block/sponge"
}
}
},
"requirements": [
[
"has_sponge_piece",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/misc_block/stripped_rubber_wood"
]
},
"criteria": {
"has_rubber_log_stripped": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:rubber_log_stripped"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/misc_block/stripped_rubber_wood"
}
}
},
"requirements": [
[
"has_rubber_log_stripped",
"has_the_recipe"
]
]
}