fixed bacon deleting all the food traits on crafting
This commit is contained in:
parent
be0e8c0510
commit
21f9074a00
3 changed files with 24 additions and 11 deletions
|
|
@ -1000,24 +1000,31 @@ const registerFirmaLifeRecipes = (event) => {
|
|||
|
||||
// #endregion
|
||||
|
||||
// #region How do I make yeast starter???
|
||||
|
||||
event.recipes.kubejs.shapeless(Item.of('4x firmalife:food/bacon').withName(Text.translate('tfg.emi.bacon_requirement')), [
|
||||
'tfc:food/pork',
|
||||
'#forge:tools/knives',
|
||||
'tfc:powder/salt'
|
||||
])
|
||||
// Adds a tooltip to the bacon craft to tell people it needs to be smoked first,
|
||||
// and adds traits that normally disappear on the craft
|
||||
|
||||
event.recipes.tfc.advanced_shapeless_crafting(
|
||||
TFC.isp.of(Item.of('4x firmalife:food/bacon')
|
||||
.withName(Text.translate('tfg.emi.bacon_requirement')))
|
||||
.addTrait("firmalife:smoked")
|
||||
.addTrait("tfc:brined")
|
||||
.addTrait("tfc:salted"),
|
||||
[
|
||||
TFC.ingredient.notRotten(TFC.ingredient.hasTrait('tfc:food/pork', "firmalife:smoked")),
|
||||
'#forge:tools/knives',
|
||||
'tfc:powder/salt'
|
||||
])
|
||||
.modifyResult((craftingGrid, result) => {
|
||||
result.resetHoverName();
|
||||
return result;
|
||||
})
|
||||
.id('firmalife:crafting/bacon')
|
||||
|
||||
// Replacement for yeast starter recipe that uses a different, more descriptive tag
|
||||
|
||||
event.recipes.tfc.barrel_sealed(72000)
|
||||
.inputFluid(Fluid.of('minecraft:water', 100))
|
||||
.inputItem(TFC.ingredient.hasTrait(Ingredient.of('#tfg:dried_fruit'), "firmalife:dried"))
|
||||
.outputFluid(Fluid.of('firmalife:yeast_starter', 100))
|
||||
.id('firmalife:barrel/yeast_starter')
|
||||
|
||||
// #endregion
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue