Added toasts for crafting_table/tool

This commit is contained in:
Ayutac 2022-01-02 20:56:17 +01:00
parent 1c1ed7c3eb
commit 572f0b0e65
16 changed files with 600 additions and 0 deletions

View file

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

View file

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

View file

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

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/tool/basic_chainsaw"
]
},
"criteria": {
"has_red_cell_battery": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:red_cell_battery"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/tool/basic_chainsaw"
}
}
},
"requirements": [
[
"has_red_cell_battery",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/tool/basic_drill"
]
},
"criteria": {
"has_red_cell_battery": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:red_cell_battery"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/tool/basic_drill"
}
}
},
"requirements": [
[
"has_red_cell_battery",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/tool/basic_jackhammer"
]
},
"criteria": {
"has_red_cell_battery": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:red_cell_battery"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/tool/basic_jackhammer"
}
}
},
"requirements": [
[
"has_red_cell_battery",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/tool/electric_treetap"
]
},
"criteria": {
"has_red_cell_battery": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:red_cell_battery"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/tool/electric_treetap"
}
}
},
"requirements": [
[
"has_red_cell_battery",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,43 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/tool/advanced_chainsaw"
]
},
"criteria": {
"has_energy_flow_chip": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:energy_flow_chip"]
}
]
}
},
"has_iridium_alloy_plate": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:iridium_alloy_plate"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/tool/advanced_chainsaw"
}
}
},
"requirements": [
[
"has_energy_flow_chip",
"has_iridium_alloy_plate",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,43 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/tool/advanced_drill"
]
},
"criteria": {
"has_energy_flow_chip": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:energy_flow_chip"]
}
]
}
},
"has_iridium_alloy_plate": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:iridium_alloy_plate"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/tool/advanced_drill"
}
}
},
"requirements": [
[
"has_energy_flow_chip",
"has_iridium_alloy_plate",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,43 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/tool/advanced_jackhammer"
]
},
"criteria": {
"has_energy_flow_chip": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:energy_flow_chip"]
}
]
}
},
"has_iridium_alloy_plate": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:iridium_alloy_plate"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/tool/advanced_jackhammer"
}
}
},
"requirements": [
[
"has_energy_flow_chip",
"has_iridium_alloy_plate",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/tool/nanosaber"
]
},
"criteria": {
"has_lapotron_crystal": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:lapotron_crystal"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/tool/nanosaber"
}
}
},
"requirements": [
[
"has_lapotron_crystal",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,43 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/tool/omni_tool"
]
},
"criteria": {
"has_advanced_chainsaw": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:advanced_chainsaw"]
}
]
}
},
"has_advanced_drill": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:advanced_drill"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/tool/omni_tool"
}
}
},
"requirements": [
[
"has_advanced_chainsaw",
"has_advanced_drill",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,43 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/tool/painting_tool"
]
},
"criteria": {
"has_bronze_ingot": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "c:bronze_ingots"
}
]
}
},
"has_wooden_plate": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:wooden_plate"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/tool/painting_tool"
}
}
},
"requirements": [
[
"has_bronze_ingot",
"has_wooden_plate",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/tool/rock_cutter"
]
},
"criteria": {
"has_red_cell_battery": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:red_cell_battery"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/tool/rock_cutter"
}
}
},
"requirements": [
[
"has_red_cell_battery",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/tool/treetap"
]
},
"criteria": {
"has_planks": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "minecraft:planks"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/tool/treetap"
}
}
},
"requirements": [
[
"has_planks",
"has_the_recipe"
]
]
}

View file

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