delete extended crafting + somefixes for treetap

This commit is contained in:
Dmitry 2023-12-11 07:27:38 +07:00
parent fa80a4cf5c
commit ba9e8f52b0
5 changed files with 39 additions and 26 deletions

View file

@ -2,39 +2,40 @@
const registerTreeTapRecipes = (event) => {
event.remove({ id: 'treetap:tap' })
// Удаление всех рецептов мода
event.remove({ mod: 'treetap' })
// TreeTap
addAnvilRecipe(event,
'tfg:recipes/treetap',
{ tag: 'forge:ingots/copper' },
{ item: 'treetap:tap' },
1,
[ "draw_not_last", "hit_not_last", "shrink_last" ]
)
event.recipes.tfc.anvil('treetap:tap', '#forge:ingots/copper', [ 'draw_not_last', 'hit_not_last', 'shrink_last' ])
.id('tfg:anvil/treetap')
// TreeTap Heating
event.recipes.tfc.heating('treetap:tap', 1080)
.resultFluid(Fluid.of('gtceu:copper', 144))
.id('tfg:heating/treetap')
// Latex
event.custom({
type: "treetap:tap_extract",
log: {
"item": "tfc:wood/log/kapok"
"item": "tfc:wood/log/kapok"
},
processing_time: 9600,
metal_result: {
item: "gtceu:latex_bucket"
item: "gtceu:latex_bucket"
},
wooden_result: {
item: "tfc:wooden_bucket",
nbt: "{fluid: {FluidName: \"gtceu:latex\", Amount: 1000}}"
item: "tfc:wooden_bucket",
nbt: "{fluid: {FluidName: \"gtceu:latex\", Amount: 1000}}"
},
life_cycle: [0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 0],
collect_bucket: true,
fluid_color: "#FBB982",
conditions: [
{
type: "forge:mod_loaded",
modid: "tfc"
}
{
type: "forge:mod_loaded",
modid: "tfc"
}
]
})
}).id('tfg:treetap/latex')
}