Add `neoforge:mod_loaded` condition to lanternfish barrel recipes
mosharky opened this issue ยท 1 comments
This would prevent errors in logs when the recipe can't load without Sully's mod being installed
for the lanternfish_barrel recipe:
{
"neoforge:conditions": [
{
"type": "neoforge:mod_loaded",
"modid": "sullysmod"
}
],
"type": "minecraft:crafting_shaped",
"category": "building",
"key": {
"#": {
"item": "sullysmod:lanternfish"
}
},
"pattern": [
"###",
"###",
"###"
],
"result": {
"item": "crabbersdelight:lanternfish_barrel"
},
"show_notification": true
}and the lanternfish_from_barrel recipe:
{
"neoforge:conditions": [
{
"type": "neoforge:mod_loaded",
"modid": "sullysmod"
}
],
"type": "minecraft:crafting_shapeless",
"category": "misc",
"ingredients": [
{
"item": "crabbersdelight:lanternfish_barrel"
}
],
"result": {
"count": 9,
"item": "sullysmod:lanternfish"
}
}