create-the-brass-oncerto/kubejs/server_scripts/add/space/satellite.js

90 lines
3.0 KiB
JavaScript
Raw Normal View History

2025-04-11 17:07:29 +08:00
ServerEvents.recipes(event => {
//event.replaceInput({ input: '' },'','')
//event.remove({output: '',not:{mod:'kubejs'}})
//event.remove({id: ''})
//event.remove({input: ''})
event.custom({
"type": "create:deploying",
"ingredients": [
{ "tag": "forge:plates/gold"},
{ "item": "minecraft:grass_block" }
],
"results": [{ "item": "ad_astra:earth_globe" }]
}).id("dut_create:deploying/earth_globe")
event.custom({
"type": "create:deploying",
"ingredients": [
{ "tag": "forge:plates/gold"},
{ "tag": "dut_create:moon_solid" }
],
"results": [{ "item": "ad_astra:moon_globe" }]
}).id("dut_create:deploying/moon_globe")
event.custom({
"type": "create:deploying",
"ingredients": [
{ "item": "kubejs:aluminum_hard_disk","nbt":{Damage:0} },
{ "item": "create_optical:optical_device" }
],
"results": [{ "item": "kubejs:satellite_scanning_module" }]
}).id("dut_create:deploying/satellite_scanning_module")
event.custom({
"type": "create:deploying",
"ingredients": [
{ "item": "kubejs:aluminum_hard_disk","nbt":{Damage:0} },
{ "item": "kubejs:lime_circuit_board" }
],
"results": [{ "item": "kubejs:navigate_data_empty" }]
}).id("dut_create:deploying/navigate_data_empty")
event.custom({
"type": "create:mechanical_crafting",
"acceptMirrored": true,
"key": {
"A": { "item": "kubejs:light_composite_plate" },
"B": { "item": "create_optical:optical_device" },
"C": { "item": "kubejs:productivity_module_2" },
"D": { "item": "kubejs:solar_panel" },
"E": { "item": "kubejs:brass_hard_disk","nbt":{Damage:0} },
"F": { "item": "kubejs:rocket_electric_connector" },
"G": { "item": "kubejs:rocket_gyro" },
"H": { "item": "create_optical:rose_quartz_catalyst_coil" }
},
"pattern": [
" ABA ",
" ACA ",
"DE ED",
"DFGFD",
" HHH ",
],
"result": { "item": "kubejs:satellite" }
}
).id("dut_create:satellite")
event.custom({
"type": "create:deploying",
"ingredients": [
{ "item": "kubejs:scanner","nbt":{Damage:16} },
{ "item": "kubejs:satellite_scanning_data" }
],
"results": [{ "item": "kubejs:scanner" ,"nbt":{Damage:0}}]
}).id("dut_create:scanner_data_put_in")
event.custom({
"type": "create:mechanical_crafting",
"acceptMirrored": true,
"key": {
"A": { "item": "kubejs:light_composite_plate" },
"B": { "item": "create:redstone_link" },
"C": { "item": "kubejs:lime_circuit_board" },
"D": { "item": "kubejs:mechanical_core" },
"E": { "item": "kubejs:brass_hard_disk","nbt":{Damage:0} },
"H": { "item": "create_optical:rose_quartz_catalyst_coil" }
},
"pattern": [
" H ",
" AAH ",
" ECB ",
" DA ",
" DA ",
],
"result": { "item": "kubejs:scanner","nbt":{Damage:16} },
}
).id("dut_create:scanner")
})