50 lines
1.9 KiB
JavaScript
50 lines
1.9 KiB
JavaScript
ServerEvents.recipes(event => {
|
|
//event.replaceInput({ input: '' },'','')
|
|
//event.remove({output: '',not:{mod:'kubejs'}})
|
|
//event.remove({id: ''})
|
|
//event.remove({input: ''})
|
|
//event.custom({})
|
|
//电解水
|
|
event.custom({
|
|
"type": "create:mixing",
|
|
"ingredients": [{ "fluid": "minecraft:water", "amount": 1000 },
|
|
{ "item": "kubejs:electrolyzer" }],
|
|
"results": [
|
|
{ "fluid": "ad_astra:oxygen", "amount": 500 },
|
|
{ "fluid": "ad_astra:hydrogen", "amount": 1000 },
|
|
{ "item": "kubejs:uncharged_electrolyzer" }
|
|
]
|
|
}).id('dut_create:water_electrolysis')
|
|
//充能赛特斯石英电解水
|
|
event.custom({
|
|
"type": "create:mixing",
|
|
"ingredients": [{ "fluid": "minecraft:water", "amount": 250 },
|
|
{ "item": "ae2:charged_certus_quartz_crystal" }],
|
|
"results": [
|
|
{ "fluid": "ad_astra:oxygen", "amount": 125 },
|
|
{ "fluid": "ad_astra:hydrogen", "amount": 250 }
|
|
]
|
|
}).id('dut_create:water_electrolysis_certus')
|
|
//水热解
|
|
event.custom({
|
|
"type": "createdieselgenerators:distillation",
|
|
"ingredients": [{ "fluid": "minecraft:water", "amount": 2000 }],
|
|
"heatRequirement": "superheated",
|
|
"processingTime": 500,
|
|
"results": [
|
|
{ "fluid": "ad_astra:oxygen", "amount": 1000 },
|
|
{ "fluid": "ad_astra:hydrogen", "amount": 2000 }
|
|
]
|
|
}).id('dut_create:water_cracking_distillation')
|
|
event.custom({
|
|
"type": "createdieselgenerators:basin_fermenting",
|
|
"ingredients": [{ "fluid": "minecraft:water", "amount": 1000 }
|
|
],
|
|
"heatRequirement": "superheated",
|
|
"processingTime": 300,
|
|
"results": [
|
|
{ "fluid": "ad_astra:oxygen", "amount": 500 },
|
|
{ "fluid": "ad_astra:hydrogen", "amount": 1000 }
|
|
]
|
|
}).id('dut_create:water_cracking_ferment')
|
|
}) |