Files
ATM8/minecraft/kubejs/server_scripts/modpack/atm_molten_fluids.js
2023-12-18 20:22:40 +00:00

40 lines
865 B
JavaScript

/*
Authored by Mitchell52
for AllTheMods 8
*/
ServerEvents.recipes(e=>{
let ATM_metals = ['allthemodium','unobtainium','vibranium',]
ATM_metals.forEach(ATM_metal =>
e.custom({
"type": "thermal:crucible",
"ingredient": {
"item": `allthemodium:${ATM_metal}_block`
},
"result": [
{
"fluid": `allthemodium:molten_${ATM_metal}`,
"amount": 1000
}
],
"energy": 232000
}).id(`kubejs:molten_${ATM_metal}`)
)
ATM_metals.forEach(ATM_metal =>
e.custom({
"type": "thermal:chiller",
"ingredients": [
{
"fluid": `allthemodium:molten_${ATM_metal}`,
"amount": 1000
}
],
"result": [
{
"item": `allthemodium:${ATM_metal}_block`
}
],
"energy": 232000
}).id(`kubejs:chilling_${ATM_metal}`)
)
})