Added toasts for crafting_table/battery
This commit is contained in:
parent
97177000b0
commit
3db7afef40
3 changed files with 140 additions and 0 deletions
|
@ -0,0 +1,54 @@
|
|||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"techreborn:crafting_table/battery/lapotron_crystal"
|
||||
]
|
||||
},
|
||||
"criteria": {
|
||||
"has_industrial_circuit": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": ["techreborn:industrial_circuit"]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"has_energy_crystal": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": ["techreborn:energy_crystal"]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"has_lazurite_plate": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"tag": "c:lazurite_plates"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"trigger": "minecraft:recipe_unlocked",
|
||||
"conditions": {
|
||||
"recipe": "techreborn:crafting_table/battery/lapotron_crystal"
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_industrial_circuit",
|
||||
"has_energy_crystal",
|
||||
"has_lazurite_plate",
|
||||
"has_the_recipe"
|
||||
]
|
||||
]
|
||||
}
|
|
@ -0,0 +1,43 @@
|
|||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"techreborn:crafting_table/battery/lapotronic_orb"
|
||||
]
|
||||
},
|
||||
"criteria": {
|
||||
"has_lapotron_crystal": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": ["techreborn:lapotron_crystal"]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"has_iridium_alloy_plate": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"tag": "c:iridium_alloy_plates"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"trigger": "minecraft:recipe_unlocked",
|
||||
"conditions": {
|
||||
"recipe": "techreborn:crafting_table/battery/lapotronic_orb"
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_lapotron_crystal",
|
||||
"has_iridium_alloy_plate",
|
||||
"has_the_recipe"
|
||||
]
|
||||
]
|
||||
}
|
|
@ -0,0 +1,43 @@
|
|||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"techreborn:crafting_table/battery/red_cell_battery"
|
||||
]
|
||||
},
|
||||
"criteria": {
|
||||
"has_insulated_copper_cable": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": ["techreborn:insulated_copper_cable"]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"has_lead_ingot": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"tag": "c:lead_ingots"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"trigger": "minecraft:recipe_unlocked",
|
||||
"conditions": {
|
||||
"recipe": "techreborn:crafting_table/battery/red_cell_battery"
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_insulated_copper_cable",
|
||||
"has_lead_ingot",
|
||||
"has_the_recipe"
|
||||
]
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue