Added non-datagen toasts for crafting_table/dust

This commit is contained in:
Ayutac 2022-02-11 17:14:31 +01:00
parent 33a3b5213f
commit c3b928eb04
3 changed files with 140 additions and 0 deletions

View file

@ -0,0 +1,43 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/dust/basalt_dust"
]
},
"criteria": {
"has_coal_small_dust": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:coal_small_dust"]
}
]
}
},
"has_obsidian_small_dust": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:obsidian_small_dust"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/dust/basalt_dust"
}
}
},
"requirements": [
[
"has_coal_small_dust",
"has_obsidian_small_dust",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,54 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/dust/gunpowder"
]
},
"criteria": {
"has_charcoal_dust": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:charcoal_dust"]
}
]
}
},
"has_sulfur_dust": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:sulfur_dust"]
}
]
}
},
"has_saltpeter_dust": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:saltpeter_dust"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/dust/gunpowder"
}
}
},
"requirements": [
[
"has_charcoal_dust",
"has_sulfur_dust",
"has_saltpeter_dust",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,43 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:crafting_table/dust/marble_dust"
]
},
"criteria": {
"has_diorite_dust": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:diorite_dust"]
}
]
}
},
"has_obsidian_small_dust": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["techreborn:obsidian_small_dust"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:crafting_table/dust/marble_dust"
}
}
},
"requirements": [
[
"has_diorite_dust",
"has_obsidian_small_dust",
"has_the_recipe"
]
]
}