Fellies/kubejs[atm]/server_scripts/ct_recipes.js

453 lines
13 KiB
JavaScript
Raw Normal View History

2021-02-06 11:01:02 +00:00
events.listen('recipes', function (e) {
//Removals
e.remove({
output: [
'quarryplus:solidquarry',
'quarryplus:workbenchplus',
'mininggadgets:upgrade_empty',
'mekanism:digital_miner',
'mekanism:atomic_disassembler',
'mekanismgenerators:wind_generator',
'pamhc2foodcore:fruitpunchitem',
'pamhc2foodcore:applejuiceitem',
'pamhc2foodcore:melonjuiceitem',
'pamhc2foodcore:sweetberryjuiceitem',
'pamhc2foodcore:p8juiceitem',
'angelring:itemring',
'angelring:itemdiamondring',
//'bluepower:alloyfurnace',
//'bluepower:blulectric_alloyfurnace',
'forbidden_arcanus:iron_chain',
'silentgear:iron_rod',
'entangled:block',
'entangled:item',
'refinedstorage:4096k_fluid_storage_part',
'extradisks:4096k_storage_part',
'extradisks:16384k_fluid_storage_part',
'extradisks:16384k_storage_part',
'extradisks:65536k_fluid_storage_part',
'extradisks:65536k_storage_part',
'extradisks:262144k_fluid_storage_part',
'extradisks:262144k_storage_part',
'extradisks:1048576k_fluid_storage_part',
'extradisks:1048576k_storage_part',
'extradisks:infinite_fluid_storage_part',
'extradisks:infinite_storage_part',
'mysticalagriculture:unattuned_augment',
'rftoolsbuilder:builder'
]
})
//Rats
e.shaped('rats:pied_wool', [
'YGY',
'GYG',
'YGY'
], {
'Y': 'minecraft:yellow_wool',
'G': 'minecraft:green_wool'
})
//QuarryPlus
e.shaped('quarryplus:solidquarry', [
'FFF',
'DGD',
'AAA'
], {
'F': 'minecraft:furnace',
'D': 'minecraft:diamond_pickaxe',
'G': '#forge:storage_blocks/gold',
'A': '#forge:nuggets/allthemodium'
})
e.shaped('quarryplus:workbenchplus', [
'III',
'GDG',
'AAA'
], {
'I': '#forge:storage_blocks/iron',
'G': '#forge:storage_blocks/gold',
'D': '#forge:storage_blocks/diamond',
'A': '#forge:nuggets/allthemodium'
})
//Mining Gadgets
e.shaped('mininggadgets:upgrade_empty', [
'RAL',
'DGD',
'LAR'
], {
'L': '#forge:storage_blocks/lapis',
'R': '#forge:storage_blocks/redstone',
'D': '#forge:gems/diamond',
'A': '#forge:nuggets/allthemodium',
'G': 'minecraft:glass_pane'
})
//Mystical Agriculture
e.shaped('mysticalagriculture:unattuned_augment', [
'PMP',
'AMA',
'PMP'
], {
'P': 'mysticalagriculture:prosperity_ingot',
'M': 'botania:manasteel_ingot',
'A': '#forge:nuggets/allthemodium'
})
//Mekanism
e.shaped('mekanism:digital_miner', [
'AUA',
'LRL',
'TST'
], {
'L': 'mekanism:logistical_sorter',
'R': 'mekanism:robit',
'T': 'mekanism:teleportation_core',
'A': '#mekanism:alloys/atomic',
'S': 'mekanism:steel_casing',
'U': '#forge:ingots/unobtainium'
})
e.shaped('mekanism:atomic_disassembler', [
'RER',
'RUR',
' V '
], {
'E': 'mekanism:energy_tablet',
'R': '#mekanism:alloys/reinforced',
'U': '#forge:circuits/ultimate',
'V': '#forge:ingots/vibranium'
})
e.shaped('mekanismgenerators:wind_generator', [
' O ',
'OCO',
'EBE'
], {
'E': 'mekanism:energy_tablet',
'C': 'mekanismgenerators:electromagnetic_coil',
'B': '#forge:circuits/basic',
'O': '#forge:ingots/osmium'
})
//Jetpacks
e.shaped('ironjetpacks:diamond_cell', [
' R ',
'TCT',
' R '
], {
'R': '#forge:dusts/redstone',
'C': 'ironjetpacks:advanced_coil',
'T': '#forge:gems/diamond'
})
e.shaped('ironjetpacks:diamond_thruster', [
'TAT',
'ACA',
'TFT'
], {
'F': 'minecraft:furnace',
'A': 'ironjetpacks:advanced_coil',
'C': 'ironjetpacks:diamond_cell',
'T': '#forge:gems/diamond'
})
e.shaped('ironjetpacks:diamond_capacitor', [
'RCR',
'RCR',
'RCR'
], {
'R': '#forge:gems/diamond',
'C': 'ironjetpacks:diamond_cell'
})
e.shaped('ironjetpacks:diamond_jetpack', [
'DCD',
'DJD',
'TRT'
], {
'D': '#forge:gems/diamond',
'C': 'ironjetpacks:diamond_capacitor',
'J': ['ironjetpacks:steel_jetpack', 'ironjetpacks:electrum_jetpack', 'ironjetpacks:invar_jetpack'],
'T': 'ironjetpacks:diamond_thruster',
'R': 'angelring:itemdiamondring'
})
e.shaped('ironjetpacks:platinum_cell', [
' R ',
'TCT',
' R '
], {
'R': '#forge:dusts/redstone',
'C': 'ironjetpacks:advanced_coil',
'T': '#forge:ingots/platinum'
})
e.shaped('ironjetpacks:platinum_thruster', [
'TAT',
'ACA',
'TFT'
], {
'F': 'minecraft:furnace',
'A': 'ironjetpacks:advanced_coil',
'C': 'ironjetpacks:platinum_cell',
'T': '#forge:ingots/platinum'
})
e.shaped('ironjetpacks:platinum_capacitor', [
'RCR',
'RCR',
'RCR'
], {
'R': '#forge:ingots/platinum',
'C': 'ironjetpacks:platinum_cell'
})
e.shaped('ironjetpacks:platinum_jetpack', [
'PCP',
'PJP',
'TRT'
], {
'P': '#forge:ingots/platinum',
'C': 'ironjetpacks:platinum_capacitor',
'J': ['ironjetpacks:steel_jetpack', 'ironjetpacks:electrum_jetpack', 'ironjetpacks:invar_jetpack'],
'T': 'ironjetpacks:platinum_thruster',
'R': 'angelring:itemdiamondring'
})
//Foods
e.shaped('pamhc2foodcore:fruitpunchitem', [
'FFF',
'FBF',
'FFF'
], {
'F': '#forge:fruits',
'B': 'pamhc2foodcore:applejuiceitem'
})
e.shaped('pamhc2foodcore:applejuiceitem', [
'FFF',
'FBF',
'FFF'
], {
'F': 'minecraft:apple',
'B': 'minecraft:glass_bottle'
})
e.shaped('pamhc2foodcore:melonjuiceitem', [
'FFF',
'FBF',
'FFF'
], {
'F': 'minecraft:melon_slice',
'B': 'minecraft:glass_bottle'
})
e.shaped('pamhc2foodcore:sweetberryjuiceitem', [
'FFF',
'FBF',
'FFF'
], {
'F': 'minecraft:sweet_berries',
'B': 'minecraft:glass_bottle'
})
e.shaped('pamhc2foodcore:p8juiceitem', [
'FFF',
'FBF',
'FFF'
], {
'F': '#forge:vegetables',
'B': 'minecraft:glass_bottle'
})
//Angel Ring
e.shaped('angelring:itemdiamondring', [
'DND',
'VEU',
'DAD'
], {
'D': '#forge:storage_blocks/diamond',
'N': '#forge:storage_blocks/netherite',
'V': '#forge:storage_blocks/vibranium',
'U': '#forge:storage_blocks/unobtainium',
'A': '#forge:storage_blocks/allthemodium',
'E': 'minecraft:elytra'
})
e.shaped('angelring:itemring', [
'CAC',
'ARA',
'DGD'
], {
'C': 'botania:pixie_dust',
'A': '#forge:storage_blocks/terrasteel',
'R': 'angelring:itemdiamondring',
'D': '#forge:nether_stars',
'G': 'botania:gaia_ingot'
})
//Other recipes
e.shaped(item.of('forbidden_arcanus:iron_chain', 3), [
'N ',
' I ',
' N'
], {
'N': '#forge:nuggets/iron',
'I': '#forge:ingots/iron'
})
e.shaped('entangled:block', [
'UEU',
'ECE',
'UEU'
], {
'U': '#forge:ingots/unobtainium',
'E': '#forge:ender_pearls',
'C': 'minecraft:ender_chest'
})
e.shaped('entangled:item', [
' EC',
' UE',
'U '
], {
'U': '#forge:ingots/unobtainium',
'E': '#forge:ender_pearls',
'C': 'minecraft:ender_chest'
})
//Extra Disks
e.shaped('refinedstorage:4096k_fluid_storage_part', [
'ana',
'fbf',
'afa'
], {
'a': 'refinedstorage:advanced_processor',
'f': 'refinedstorage:1024k_fluid_storage_part',
'b': 'minecraft:bucket',
'n': '#forge:nuggets/allthemodium'
})
e.shaped('extradisks:4096k_storage_part', [
'ana',
'fbf',
'afa'
], {
'a': 'refinedstorage:advanced_processor',
'f': 'extradisks:1024k_storage_part',
'b': '#forge:dusts/redstone',
'n': '#forge:nuggets/allthemodium'
})
e.shaped('extradisks:16384k_fluid_storage_part', [
'ana',
'fbf',
'afa'
], {
'a': 'refinedstorage:advanced_processor',
'f': 'refinedstorage:4096k_fluid_storage_part',
'b': 'minecraft:bucket',
'n': '#forge:ingots/allthemodium'
})
e.shaped('extradisks:16384k_storage_part', [
'ana',
'fbf',
'afa'
], {
'a': 'refinedstorage:advanced_processor',
'f': 'extradisks:4096k_storage_part',
'b': '#forge:dusts/redstone',
'n': '#forge:ingots/allthemodium'
})
e.shaped('extradisks:65536k_fluid_storage_part', [
'ana',
'fbf',
'afa'
], {
'a': 'refinedstorage:advanced_processor',
'f': 'extradisks:16384k_fluid_storage_part',
'b': 'minecraft:bucket',
'n': '#forge:ingots/allthemodium'
})
e.shaped('extradisks:65536k_storage_part', [
'ana',
'fbf',
'afa'
], {
'a': 'refinedstorage:advanced_processor',
'f': 'extradisks:16384k_storage_part',
'b': '#forge:dusts/redstone',
'n': '#forge:ingots/allthemodium'
})
e.shaped('extradisks:262144k_fluid_storage_part', [
'ana',
'fbf',
'afa'
], {
'a': 'refinedstorage:advanced_processor',
'f': 'extradisks:65536k_fluid_storage_part',
'b': 'minecraft:bucket',
'n': '#forge:ingots/vibranium'
})
e.shaped('extradisks:262144k_storage_part', [
'ana',
'fbf',
'afa'
], {
'a': 'refinedstorage:advanced_processor',
'f': 'extradisks:65536k_storage_part',
'b': '#forge:dusts/redstone',
'n': '#forge:ingots/vibranium'
})
e.shaped('extradisks:1048576k_fluid_storage_part', [
'ana',
'fbf',
'afa'
], {
'a': 'refinedstorage:advanced_processor',
'f': 'extradisks:262144k_fluid_storage_part',
'b': 'minecraft:bucket',
'n': '#forge:ingots/unobtainium'
})
e.shaped('extradisks:1048576k_storage_part', [
'ana',
'fbf',
'afa'
], {
'a': 'refinedstorage:advanced_processor',
'f': 'extradisks:262144k_storage_part',
'b': '#forge:dusts/redstone',
'n': '#forge:ingots/unobtainium'
})
e.shaped('extradisks:infinite_fluid_storage_part', [
'ana',
'fbf',
'afa'
], {
'a': 'refinedstorage:advanced_processor',
'f': 'extradisks:1048576k_fluid_storage_part',
'b': 'minecraft:bucket',
'n': '#forge:ingots/unobtainium'
})
e.shaped('extradisks:infinite_storage_part', [
'ana',
'fbf',
'afa'
], {
'a': 'refinedstorage:advanced_processor',
'f': 'extradisks:1048576k_storage_part',
'b': '#forge:dusts/redstone',
'n': '#forge:ingots/unobtainium'
})
//Quark
e.shapeless('minecraft:chest', '#forge:chests/wooden')
e.shapeless('minecraft:trapped_chest', '#forge:chests/trapped')
const quarkWoodTypes = ['oak', 'dark_oak', 'acacia', 'spruce', 'birch', 'jungle', 'warped', 'crimson'];
quarkWoodTypes.forEach(wood => {
e.shapeless('quark:' + wood + '_chest', ['minecraft:' + wood + '_planks', '#forge:chests/wooden']);
e.shapeless('quark:' + wood + '_trapped_chest', ['quark:' + wood + '_chest', 'minecraft:tripwire_hook']);
});
function buildQuarkChest(type, material) {
e.shaped('quark:' + type + '_chest', [
'aaa',
'a a',
'aaa'
], {a: material});
e.shapeless('quark:' + type + '_trapped_chest', ['quark:' + type + '_chest', 'minecraft:tripwire_hook']);
}
buildQuarkChest('nether_brick', 'minecraft:nether_bricks');
buildQuarkChest('prismarine', 'minecraft:prismarine');
buildQuarkChest('mushroom', '#forge:mushroom_caps');
buildQuarkChest('purpur', 'minecraft:purpur_block');
//BluePower
//e.shapeless(item.of('bluepower:blue_alloy_ingot', 4), ['#forge:dusts/teslatite','#forge:dusts/teslatite','#forge:dusts/teslatite','#forge:ingots/silver'])
//RFTools
e.shaped('rftoolsbuilder:builder', [
'aea',
'rmr',
'ara'
], {
'a': '#forge:nuggets/allthemodium',
'e': '#forge:ender_pearls',
'r': '#forge:storage_blocks/redstone',
'm': 'rftoolsbase:machine_frame'
})
})