252 lines
8.9 KiB
JavaScript
252 lines
8.9 KiB
JavaScript
ServerEvents.recipes(event => {
|
|
event.replaceInput(
|
|
{ type: 'iceandfire:dragonforge' }, 'minecraft:iron_ingot', '#forge:ingots/netherite')
|
|
//龙钢
|
|
event.remove({ id: "iceandfire:dragonforge/dragonsteel_fire_ingot" })
|
|
event.remove({ id: "iceandfire:dragonforge/dragonsteel_ice_ingot" })
|
|
event.remove({ id: "iceandfire:dragonforge/dragonsteel_lightning_ingot" })
|
|
event.custom({
|
|
"type": "iceandfire:dragonforge",
|
|
"dragon_type": "fire",
|
|
"cook_time": 1000,
|
|
"input": { "tag": "forge:plates/netherite" },
|
|
"blood": { "item": "iceandfire:fire_dragon_blood" },
|
|
"result": { "item": "iceandfire:dragonsteel_fire_ingot" }
|
|
}).id("dut_create:dragonforge/dragonsteel_fire")
|
|
event.custom({
|
|
"type": "iceandfire:dragonforge",
|
|
"dragon_type": "ice",
|
|
"cook_time": 1000,
|
|
"input": { "tag": "forge:plates/netherite" },
|
|
"blood": { "item": "iceandfire:ice_dragon_blood" },
|
|
"result": { "item": "iceandfire:dragonsteel_ice_ingot" }
|
|
}).id("dut_create:dragonforge/dragonsteel_ice")
|
|
event.custom({
|
|
"type": "iceandfire:dragonforge",
|
|
"dragon_type": "lightning",
|
|
"cook_time": 1000,
|
|
"input": { "tag": "forge:plates/netherite" },
|
|
"blood": { "item": "iceandfire:lightning_dragon_blood" },
|
|
"result": { "item": "iceandfire:dragonsteel_lightning_ingot" }
|
|
}).id("dut_create:dragonforge/dragonsteel_lightning")
|
|
event.custom({
|
|
"type": "iceandfire:dragonforge",
|
|
"dragon_type": "fire",
|
|
"cook_time": 2000,
|
|
"input": { "item": "dreadsteel:dreadsteel_ingot" },
|
|
"blood": { "item": "iceandfire:fire_dragon_blood" },
|
|
"result": { "item": "createloveandwar:steel_ingot" }
|
|
}).id("dut_create:dragonforge/plasticsteel_fire")
|
|
event.custom({
|
|
"type": "iceandfire:dragonforge",
|
|
"dragon_type": "ice",
|
|
"cook_time": 2000,
|
|
"input": { "item": "dreadsteel:dreadsteel_ingot" },
|
|
"blood": { "item": "iceandfire:ice_dragon_blood" },
|
|
"result": { "item": "createloveandwar:steel_ingot" }
|
|
}).id("dut_create:dragonforge/plasticsteel_ice")
|
|
event.custom({
|
|
"type": "iceandfire:dragonforge",
|
|
"dragon_type": "lightning",
|
|
"cook_time": 2000,
|
|
"input": { "item": "dreadsteel:dreadsteel_ingot" },
|
|
"blood": { "item": "iceandfire:lightning_dragon_blood" },
|
|
"result": { "item": "createloveandwar:steel_ingot" }
|
|
}).id("dut_create:dragonforge/plasticsteel_lightning")
|
|
//龙血离心
|
|
event.custom({
|
|
"type": "vintageimprovements:centrifugation",
|
|
"ingredients": [
|
|
{ "tag": "iceandfire:charred_blocks" }
|
|
],
|
|
"results": [
|
|
{ "item": "iceandfire:fire_dragon_blood", "chance": 0.00125 }
|
|
],
|
|
"processingTime": 1200
|
|
}).id("dut_create:centrifugation/fire_dragon_blood")
|
|
event.custom({
|
|
"type": "vintageimprovements:centrifugation",
|
|
"ingredients": [
|
|
{ "tag": "iceandfire:frozen_blocks" }
|
|
],
|
|
"results": [
|
|
{ "item": "iceandfire:ice_dragon_blood", "chance": 0.00125 }
|
|
],
|
|
"processingTime": 1200
|
|
}).id("dut_create:centrifugation/ice_dragon_blood")
|
|
event.custom({
|
|
"type": "vintageimprovements:centrifugation",
|
|
"ingredients": [
|
|
{ "tag": "iceandfire:crackled_blocks" }
|
|
],
|
|
"results": [
|
|
{ "item": "iceandfire:lightning_dragon_blood", "chance": 0.00125 }
|
|
],
|
|
"processingTime": 1200
|
|
}).id("dut_create:centrifugation/lightning_dragon_blood")
|
|
|
|
//百合栽培
|
|
event.custom({
|
|
"type": "create:sequenced_assembly",
|
|
"ingredient": { "item": "iceandfire:fire_lily" },
|
|
"results": [
|
|
{ "item": "iceandfire:fire_lily", "count": 2, "chance": 0.25 },
|
|
{ "item": "iceandfire:fire_lily", "chance": 0.75 }
|
|
],
|
|
"loops": 1,
|
|
"sequence": [
|
|
{
|
|
"type": "create:filling",
|
|
"ingredients": [{ "item": "iceandfire:fire_lily" },
|
|
{ "amount": 500, "fluid": "vintageimprovements:sulfuric_acid" }],
|
|
"results": [{ "item": "iceandfire:fire_lily" }]
|
|
}
|
|
],
|
|
"transitionalItem": { "item": "iceandfire:fire_lily" }
|
|
}).id("dut_create:soilless_culture/fire_lily")
|
|
event.custom({
|
|
"type": "create:sequenced_assembly",
|
|
"ingredient": { "item": "iceandfire:frost_lily" },
|
|
"results": [
|
|
{ "item": "iceandfire:frost_lily", "count": 2, "chance": 0.125 },
|
|
{ "item": "iceandfire:frost_lily", "chance": 0.875 }
|
|
],
|
|
"loops": 1,
|
|
"sequence": [
|
|
{
|
|
"type": "create:filling",
|
|
"ingredients": [{ "item": "iceandfire:frost_lily" },
|
|
{ "amount": 1000, "fluid": "kubejs:cryogen" }],
|
|
"results": [{ "item": "iceandfire:frost_lily" }]
|
|
}
|
|
],
|
|
"transitionalItem": { "item": "iceandfire:frost_lily" }
|
|
}).id("dut_create:soilless_culture/frost_lily")
|
|
event.custom({
|
|
"type": "create:sequenced_assembly",
|
|
"ingredient": { "item": "iceandfire:lightning_lily" },
|
|
"results": [
|
|
{ "item": "iceandfire:lightning_lily", "count": 2, "chance": 0.25 },
|
|
{ "item": "iceandfire:lightning_lily", "chance": 0.75 }
|
|
],
|
|
"loops": 1,
|
|
"sequence": [
|
|
{
|
|
"type": "create:filling",
|
|
"ingredients": [{ "item": "iceandfire:lightning_lily" },
|
|
{ "amount": 500, "fluid": "kubejs:muriatic_acid" }],
|
|
"results": [{ "item": "iceandfire:lightning_lily" }]
|
|
}
|
|
],
|
|
"transitionalItem": { "item": "iceandfire:lightning_lily" }
|
|
}).id("dut_create:soilless_culture/lightning_lily")
|
|
//龙血生产
|
|
event.custom({
|
|
"type": "vintageimprovements:pressurizing",
|
|
"ingredients": [
|
|
{ "item": "kubejs:phantom_fungus" },
|
|
{ "item": "iceandfire:fire_lily" },
|
|
{ "fluid": "create_central_kitchen:dragon_breath" ,"amount": 1000}
|
|
],
|
|
"results": [
|
|
{ "item": "kubejs:phantom_fungus" ,"chance":0.8},
|
|
{ "item": "iceandfire:fire_lily" },
|
|
{"item":"iceandfire:fire_dragon_blood"}
|
|
],
|
|
"processingTime": 120
|
|
}).id('dut_create:phantom_fungus/fire_dragon_blood_from_dragon_breath')
|
|
event.custom({
|
|
"type": "vintageimprovements:pressurizing",
|
|
"ingredients": [
|
|
{ "item": "kubejs:phantom_fungus" },
|
|
{ "item": "iceandfire:frost_lily" },
|
|
{ "fluid": "create_central_kitchen:dragon_breath" ,"amount": 1000}
|
|
],
|
|
"results": [
|
|
{ "item": "kubejs:phantom_fungus" ,"chance":0.8},
|
|
{ "item": "iceandfire:frost_lily" },
|
|
{"item":"iceandfire:ice_dragon_blood"}
|
|
],
|
|
"processingTime": 120
|
|
}).id('dut_create:phantom_fungus/ice_dragon_blood_from_dragon_breath')
|
|
event.custom({
|
|
"type": "vintageimprovements:pressurizing",
|
|
"ingredients": [
|
|
{ "item": "kubejs:phantom_fungus" },
|
|
{ "item": "iceandfire:lightning_lily" },
|
|
{ "fluid": "create_central_kitchen:dragon_breath" ,"amount": 1000}
|
|
],
|
|
"results": [
|
|
{ "item": "kubejs:phantom_fungus" ,"chance":0.8},
|
|
{ "item": "iceandfire:lightning_lily" },
|
|
{"item":"iceandfire:lightning_dragon_blood"}
|
|
],
|
|
"processingTime": 120
|
|
}).id('dut_create:phantom_fungus/lightning_dragon_blood_from_dragon_breath')
|
|
event.custom({
|
|
"type": "vintageimprovements:pressurizing",
|
|
"ingredients": [
|
|
{ "item": "kubejs:phantom_fungus" },
|
|
{ "item": "iceandfire:fire_dragon_flesh" }
|
|
],
|
|
"results": [
|
|
{"item":"iceandfire:fire_dragon_blood"}
|
|
],
|
|
"processingTime": 120
|
|
}).id('dut_create:phantom_fungus/fire_dragon_blood_from_dragon_flesh')
|
|
event.custom({
|
|
"type": "vintageimprovements:pressurizing",
|
|
"ingredients": [
|
|
{ "item": "kubejs:phantom_fungus" },
|
|
{ "item": "iceandfire:ice_dragon_flesh" }
|
|
],
|
|
"results": [
|
|
{"item":"iceandfire:ice_dragon_blood"}
|
|
],
|
|
"processingTime": 120
|
|
}).id('dut_create:phantom_fungus/ice_dragon_blood_from_dragon_flesh')
|
|
event.custom({
|
|
"type": "vintageimprovements:pressurizing",
|
|
"ingredients": [
|
|
{ "item": "kubejs:phantom_fungus" },
|
|
{ "item": "iceandfire:lightning_dragon_flesh" }
|
|
],
|
|
"results": [
|
|
{"item":"iceandfire:lightning_dragon_blood"}
|
|
],
|
|
"processingTime": 120
|
|
}).id('dut_create:phantom_fungus/lightning_dragon_blood_from_dragon_flesh')
|
|
event.custom({
|
|
"type": "vintageimprovements:pressurizing",
|
|
"ingredients": [
|
|
{ "item": "kubejs:phantom_fungus" },
|
|
{ "item": "iceandfire:fire_dragon_heart" }
|
|
],
|
|
"results": [
|
|
{"item":"iceandfire:fire_dragon_blood","count":3}
|
|
],
|
|
"processingTime": 120
|
|
}).id('dut_create:phantom_fungus/fire_dragon_blood_from_dragon_heart')
|
|
event.custom({
|
|
"type": "vintageimprovements:pressurizing",
|
|
"ingredients": [
|
|
{ "item": "kubejs:phantom_fungus" },
|
|
{ "item": "iceandfire:ice_dragon_heart" }
|
|
],
|
|
"results": [
|
|
{"item":"iceandfire:ice_dragon_blood","count":3}
|
|
],
|
|
"processingTime": 120
|
|
}).id('dut_create:phantom_fungus/ice_dragon_blood_from_dragon_heart')
|
|
event.custom({
|
|
"type": "vintageimprovements:pressurizing",
|
|
"ingredients": [
|
|
{ "item": "kubejs:phantom_fungus" },
|
|
{ "item": "iceandfire:lightning_dragon_heart" }
|
|
],
|
|
"results": [
|
|
{"item":"iceandfire:lightning_dragon_blood","count":3}
|
|
],
|
|
"processingTime": 120
|
|
}).id('dut_create:phantom_fungus/lightning_dragon_blood_from_dragon_heart')
|
|
}) |