Fix dried fruit recipe (#2673)
* Fix dried fruit recipe Signed-off-by: Mqrius <Nuntius.Marii@Gmail.com> * Register tags based on constant array --------- Signed-off-by: Mqrius <Nuntius.Marii@Gmail.com>
This commit is contained in:
parent
45c28807e2
commit
9ece43f122
2 changed files with 5 additions and 7 deletions
|
|
@ -1024,7 +1024,7 @@ const registerFirmaLifeRecipes = (event) => {
|
|||
|
||||
event.recipes.tfc.barrel_sealed(72000)
|
||||
.inputFluid(Fluid.of('minecraft:water', 100))
|
||||
.inputItem(TFC.ingredient.hasTrait(Ingredient.of('#tfg:dried_fruit'), "firmalife:dried"))
|
||||
.inputItem(TFC.ingredient.hasTrait('#tfg:dried_fruit', "firmalife:dried"))
|
||||
.outputFluid(Fluid.of('firmalife:yeast_starter', 100))
|
||||
.id('firmalife:barrel/yeast_starter')
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,12 +18,10 @@ const registerFirmaLifeItemTags = (event) => {
|
|||
event.removeAllTagsFrom("/tfc:ore/[^*]+/[^*]+/")
|
||||
|
||||
// Make our own "dried fruit" tag so we can display something in EMI - used for yeast starter
|
||||
const fruitArray = Ingredient.of('#tfc:foods/fruits').itemIds.toArray().map(String)
|
||||
fruitArray.forEach(fruit => {
|
||||
if (fruit !== 'betterend:shadow_berry_cooked' && fruit !== 'minecraft:popped_chorus_fruit') {
|
||||
event.add('tfg:dried_fruit', fruit)
|
||||
}
|
||||
})
|
||||
global.FOOD_FRUIT
|
||||
.map(fruit => fruit.id)
|
||||
.filter(fruit => fruit !== 'betterend:shadow_berry_cooked' && fruit !== 'minecraft:popped_chorus_fruit')
|
||||
.forEach(fruit => event.add('tfg:dried_fruit', fruit))
|
||||
}
|
||||
|
||||
const registerFirmaLifeBlockTags = (event) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue