Alpha Release: additions 0.9.0 (#880)
Signed-off-by: Pyritie <pyritie@gmail.com> Signed-off-by: TomPlop <tomdidome@gmail.com> Signed-off-by: Adora <adoradyne.58@gmail.com> Signed-off-by: MetenBouldry <94766011+MetenBouldry@users.noreply.github.com> Signed-off-by: CaitlynMC <135169224+CaitlynMC@users.noreply.github.com> Signed-off-by: SverhRazum-Nah <leon.trol@mail.ru> Signed-off-by: Redeix <59435925+Redeix@users.noreply.github.com> Signed-off-by: Xikaro <55663835+Xikaro@users.noreply.github.com> Co-authored-by: Xikaro <os.valerievich@ya.ru> Co-authored-by: Nebby <78170922+Nebby1999@users.noreply.github.com> Co-authored-by: Redeix <brayden.j.m.ford@gmail.com> Co-authored-by: TomPlop <tomdidome@gmail.com> Co-authored-by: aidie8 <aidenvanzuilen@gmail.com> Co-authored-by: Xikaro <55663835+Xikaro@users.noreply.github.com> Co-authored-by: Zleub <debray.arnaud@gmail.com> Co-authored-by: Adora <adoradyne.58@gmail.com> Co-authored-by: Curtis Merrill <curtis.r.merrill@gmail.com> Co-authored-by: julia <97713533+juliakity@users.noreply.github.com> Co-authored-by: GamerDadDave <gamerdaddave@gmail.com> Co-authored-by: MetenBouldry <94766011+MetenBouldry@users.noreply.github.com> Co-authored-by: CaitlynMC <135169224+CaitlynMC@users.noreply.github.com> Co-authored-by: SverhRazum-Nah <leon.trol@mail.ru> Co-authored-by: Redeix <59435925+Redeix@users.noreply.github.com> Co-authored-by: Nebby1999 <nebby131999@gmail.com>
This commit is contained in:
parent
ec2e3cd3c4
commit
189f5aebce
94 changed files with 4858 additions and 2300 deletions
File diff suppressed because it is too large
Load diff
694
kubejs/server_scripts/gregtech/recipes.machines.js
Normal file
694
kubejs/server_scripts/gregtech/recipes.machines.js
Normal file
|
|
@ -0,0 +1,694 @@
|
|||
// priority: 0
|
||||
|
||||
function registerGTCEuMachineRecipes(event) {
|
||||
//#region Выход: Filter Casing
|
||||
|
||||
event.shaped('gtceu:filter_casing', [
|
||||
'AAA',
|
||||
'BBB',
|
||||
'CDE'
|
||||
], {
|
||||
A: '#tfg:metal_bars',
|
||||
B: 'gtceu:item_filter',
|
||||
C: 'gtceu:mv_electric_motor',
|
||||
D: 'gtceu:steel_frame',
|
||||
E: '#forge:rotors/steel'
|
||||
}).id('gtceu:shaped/filter_casing')
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region Выход: Assembly Line Grating
|
||||
|
||||
event.shaped('2x gtceu:assembly_line_grating', [
|
||||
'ABA',
|
||||
'ACA',
|
||||
'ADA'
|
||||
], {
|
||||
A: '#tfg:metal_bars',
|
||||
B: '#forge:rotors/steel',
|
||||
C: 'gtceu:steel_frame',
|
||||
D: 'gtceu:mv_electric_motor'
|
||||
}).id('gtceu:shaped/casing_grate_casing')
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region Gas Collectors
|
||||
|
||||
event.shaped('gtceu:lv_gas_collector', [
|
||||
'ABA',
|
||||
'CEC',
|
||||
'ADA'
|
||||
], {
|
||||
A: '#tfg:metal_bars',
|
||||
B: 'gtceu:fluid_filter',
|
||||
C: 'gtceu:lv_electric_pump',
|
||||
D: '#gtceu:circuits/lv',
|
||||
E: 'gtceu:lv_machine_hull'
|
||||
}).id('gtceu:shaped/lv_gas_collector')
|
||||
|
||||
event.shaped('gtceu:mv_gas_collector', [
|
||||
'ABA',
|
||||
'CEC',
|
||||
'ADA'
|
||||
], {
|
||||
A: '#tfg:metal_bars',
|
||||
B: 'gtceu:fluid_filter',
|
||||
C: 'gtceu:mv_electric_pump',
|
||||
D: '#gtceu:circuits/mv',
|
||||
E: 'gtceu:mv_machine_hull'
|
||||
}).id('gtceu:shaped/mv_gas_collector')
|
||||
|
||||
event.shaped('gtceu:hv_gas_collector', [
|
||||
'ABA',
|
||||
'CEC',
|
||||
'ADA'
|
||||
], {
|
||||
A: '#tfg:metal_bars',
|
||||
B: 'gtceu:fluid_filter',
|
||||
C: 'gtceu:hv_electric_pump',
|
||||
D: '#gtceu:circuits/hv',
|
||||
E: 'gtceu:hv_machine_hull'
|
||||
}).id('gtceu:shaped/hv_gas_collector')
|
||||
|
||||
event.shaped('gtceu:ev_gas_collector', [
|
||||
'ABA',
|
||||
'CEC',
|
||||
'ADA'
|
||||
], {
|
||||
A: '#tfg:metal_bars',
|
||||
B: 'gtceu:fluid_filter',
|
||||
C: 'gtceu:ev_electric_pump',
|
||||
D: '#gtceu:circuits/ev',
|
||||
E: 'gtceu:ev_machine_hull'
|
||||
}).id('gtceu:shaped/ev_gas_collector')
|
||||
|
||||
event.shaped('gtceu:iv_gas_collector', [
|
||||
'ABA',
|
||||
'CEC',
|
||||
'ADA'
|
||||
], {
|
||||
A: '#tfg:metal_bars',
|
||||
B: 'gtceu:fluid_filter',
|
||||
C: 'gtceu:iv_electric_pump',
|
||||
D: '#gtceu:circuits/iv',
|
||||
E: 'gtceu:iv_machine_hull'
|
||||
}).id('gtceu:shaped/iv_gas_collector')
|
||||
|
||||
event.shaped('gtceu:luv_gas_collector', [
|
||||
'ABA',
|
||||
'CEC',
|
||||
'ADA'
|
||||
], {
|
||||
A: '#tfg:metal_bars',
|
||||
B: 'gtceu:fluid_filter',
|
||||
C: 'gtceu:luv_electric_pump',
|
||||
D: '#gtceu:circuits/luv',
|
||||
E: 'gtceu:luv_machine_hull'
|
||||
}).id('gtceu:shaped/luv_gas_collector')
|
||||
|
||||
event.shaped('gtceu:zpm_gas_collector', [
|
||||
'ABA',
|
||||
'CEC',
|
||||
'ADA'
|
||||
], {
|
||||
A: '#tfg:metal_bars',
|
||||
B: 'gtceu:fluid_filter',
|
||||
C: 'gtceu:zpm_electric_pump',
|
||||
D: '#gtceu:circuits/zpm',
|
||||
E: 'gtceu:zpm_machine_hull'
|
||||
}).id('gtceu:shaped/zpm_gas_collector')
|
||||
|
||||
event.shaped('gtceu:uv_gas_collector', [
|
||||
'ABA',
|
||||
'CEC',
|
||||
'ADA'
|
||||
], {
|
||||
A: '#tfg:metal_bars',
|
||||
B: 'gtceu:fluid_filter',
|
||||
C: 'gtceu:uv_electric_pump',
|
||||
D: '#gtceu:circuits/uv',
|
||||
E: 'gtceu:uv_machine_hull'
|
||||
}).id('gtceu:shaped/uv_gas_collector')
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region Forge Hammers
|
||||
|
||||
event.shaped('gtceu:lv_forge_hammer', [
|
||||
'ABA',
|
||||
'CDC',
|
||||
'AEA'
|
||||
], {
|
||||
A: 'gtceu:tin_single_cable',
|
||||
B: 'gtceu:lv_electric_piston',
|
||||
C: '#gtceu:circuits/lv',
|
||||
D: 'gtceu:lv_machine_hull',
|
||||
E: 'tfc:metal/anvil/steel',
|
||||
}).id('gtceu:shaped/lv_forge_hammer')
|
||||
|
||||
event.shaped('gtceu:mv_forge_hammer', [
|
||||
'ABA',
|
||||
'CDC',
|
||||
'AEA'
|
||||
], {
|
||||
A: 'gtceu:copper_single_cable',
|
||||
B: 'gtceu:mv_electric_piston',
|
||||
C: '#gtceu:circuits/mv',
|
||||
D: 'gtceu:mv_machine_hull',
|
||||
E: 'tfc:metal/anvil/steel',
|
||||
}).id('gtceu:shaped/mv_forge_hammer')
|
||||
|
||||
event.shaped('gtceu:hv_forge_hammer', [
|
||||
'ABA',
|
||||
'CDC',
|
||||
'AEA'
|
||||
], {
|
||||
A: 'gtceu:gold_single_cable',
|
||||
B: 'gtceu:hv_electric_piston',
|
||||
C: '#gtceu:circuits/hv',
|
||||
D: 'gtceu:hv_machine_hull',
|
||||
E: 'tfc:metal/anvil/steel',
|
||||
}).id('gtceu:shaped/hv_forge_hammer')
|
||||
|
||||
event.shaped('gtceu:ev_forge_hammer', [
|
||||
'ABA',
|
||||
'CDC',
|
||||
'AEA'
|
||||
], {
|
||||
A: 'gtceu:aluminium_single_cable',
|
||||
B: 'gtceu:ev_electric_piston',
|
||||
C: '#gtceu:circuits/ev',
|
||||
D: 'gtceu:ev_machine_hull',
|
||||
E: 'tfc:metal/anvil/black_steel',
|
||||
}).id('gtceu:shaped/ev_forge_hammer')
|
||||
|
||||
event.shaped('gtceu:iv_forge_hammer', [
|
||||
'ABA',
|
||||
'CDC',
|
||||
'AEA'
|
||||
], {
|
||||
A: 'gtceu:platinum_single_cable',
|
||||
B: 'gtceu:iv_electric_piston',
|
||||
C: '#gtceu:circuits/iv',
|
||||
D: 'gtceu:iv_machine_hull',
|
||||
E: 'tfc:metal/anvil/black_steel',
|
||||
}).id('gtceu:shaped/iv_forge_hammer')
|
||||
|
||||
event.shaped('gtceu:luv_forge_hammer', [
|
||||
'ABA',
|
||||
'CDC',
|
||||
'AEA'
|
||||
], {
|
||||
A: 'gtceu:niobium_titanium_single_cable',
|
||||
B: 'gtceu:luv_electric_piston',
|
||||
C: '#gtceu:circuits/luv',
|
||||
D: 'gtceu:luv_machine_hull',
|
||||
E: 'tfc:metal/anvil/black_steel',
|
||||
}).id('gtceu:shaped/luv_forge_hammer')
|
||||
|
||||
event.shaped('gtceu:zpm_forge_hammer', [
|
||||
'ABA',
|
||||
'CDC',
|
||||
'AEA'
|
||||
], {
|
||||
A: 'gtceu:vanadium_gallium_single_cable',
|
||||
B: 'gtceu:zpm_electric_piston',
|
||||
C: '#gtceu:circuits/zpm',
|
||||
D: 'gtceu:zpm_machine_hull',
|
||||
E: '#tfc:red_or_blue_anvil',
|
||||
}).id('gtceu:shaped/zpm_forge_hammer')
|
||||
|
||||
event.shaped('gtceu:uv_forge_hammer', [
|
||||
'ABA',
|
||||
'CDC',
|
||||
'AEA'
|
||||
], {
|
||||
A: 'gtceu:yttrium_barium_cuprate_single_cable',
|
||||
B: 'gtceu:uv_electric_piston',
|
||||
C: '#gtceu:circuits/uv',
|
||||
D: 'gtceu:uv_machine_hull',
|
||||
E: '#tfc:red_or_blue_anvil',
|
||||
}).id('gtceu:shaped/uv_forge_hammer')
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region CokeOven
|
||||
|
||||
// Coke Oven
|
||||
event.shaped('gtceu:coke_oven', [
|
||||
'ABA',
|
||||
'BCB',
|
||||
'ABA'
|
||||
], {
|
||||
A: 'gtceu:coke_oven_bricks',
|
||||
B: '#forge:plates/wrought_iron',
|
||||
C: '#forge:tools/wrenches'
|
||||
}).id('gtceu:shaped/coke_oven')
|
||||
|
||||
// Coke Oven Hatch
|
||||
event.recipes.tfc.no_remainder_shaped_crafting(
|
||||
event.shaped('gtceu:coke_oven_hatch', [
|
||||
'AB'
|
||||
], {
|
||||
A: 'gtceu:coke_oven_bricks',
|
||||
B: '#tfc:barrels'
|
||||
})
|
||||
).id('gtceu:shaped/coke_oven_hatch')
|
||||
|
||||
//#endregion
|
||||
|
||||
// High Pressure Steam Miner
|
||||
event.replaceInput({ id: 'gtceu:shaped/steam_miner_steel' },
|
||||
'gtceu:lp_steam_miner', 'gtceu:steel_brick_casing')
|
||||
|
||||
//#region Выход: Стальные машины
|
||||
|
||||
// HP Steam Boilers
|
||||
event.shaped('gtceu:hp_steam_solid_boiler', [
|
||||
'AEA',
|
||||
'ADA',
|
||||
'BCB'
|
||||
], {
|
||||
A: '#forge:plates/steel',
|
||||
B: 'gtceu:tin_alloy_small_fluid_pipe',
|
||||
C: 'gtceu:steel_brick_casing',
|
||||
D: 'tfc:crucible',
|
||||
E: '#forge:rods/black_steel'
|
||||
}).id('gtceu:shaped/steam_boiler_coal_steel')
|
||||
|
||||
event.shaped('gtceu:hp_steam_liquid_boiler', [
|
||||
'AEA',
|
||||
'ADA',
|
||||
'BCB'
|
||||
], {
|
||||
A: '#forge:plates/steel',
|
||||
B: 'gtceu:tin_alloy_small_fluid_pipe',
|
||||
C: 'gtceu:steel_brick_casing',
|
||||
D: '#forge:glass',
|
||||
E: '#forge:rods/black_steel'
|
||||
}).id('gtceu:shaped/steam_boiler_lava_steel')
|
||||
|
||||
event.shaped('gtceu:hp_steam_solar_boiler', [
|
||||
'AAA',
|
||||
'BCB',
|
||||
'EDE'
|
||||
], {
|
||||
A: '#forge:glass_panes',
|
||||
B: '#forge:double_plates/silver',
|
||||
C: '#forge:rods/black_steel',
|
||||
D: 'gtceu:steel_brick_casing',
|
||||
E: 'gtceu:tin_alloy_small_fluid_pipe',
|
||||
}).id('gtceu:shaped/steam_boiler_solar_steel')
|
||||
|
||||
// Экстрактор
|
||||
event.shaped('gtceu:hp_steam_extractor', [
|
||||
'BEB',
|
||||
'CAC',
|
||||
'DFD'
|
||||
], {
|
||||
A: 'gtceu:steel_brick_casing',
|
||||
B: 'gtceu:tin_alloy_small_fluid_pipe',
|
||||
C: '#forge:plates/steel',
|
||||
D: '#forge:plates/wrought_iron',
|
||||
E: '#forge:glass_panes',
|
||||
F: '#forge:rings/black_steel'
|
||||
}).id('gtceu:shaped/steam_extractor_steel')
|
||||
|
||||
// Дробитель
|
||||
event.shaped('gtceu:hp_steam_macerator', [
|
||||
'BFB',
|
||||
'CAC',
|
||||
'DED'
|
||||
], {
|
||||
A: 'gtceu:steel_brick_casing',
|
||||
B: '#forge:small_gears/wrought_iron',
|
||||
C: '#forge:plates/steel',
|
||||
D: '#forge:rods/black_steel',
|
||||
E: 'gtceu:tin_alloy_small_fluid_pipe',
|
||||
F: '#forge:raw_materials/diamond'
|
||||
}).id('gtceu:shaped/steam_macerator_steel')
|
||||
|
||||
// Компрессор
|
||||
event.shaped('gtceu:hp_steam_compressor', [
|
||||
'BCB',
|
||||
'EAE',
|
||||
'DFD'
|
||||
], {
|
||||
A: 'gtceu:steel_brick_casing',
|
||||
B: 'gtceu:tin_alloy_small_fluid_pipe',
|
||||
C: '#forge:plates/steel',
|
||||
D: '#forge:plates/wrought_iron',
|
||||
E: 'minecraft:piston',
|
||||
F: '#forge:rods/black_steel'
|
||||
}).id('gtceu:shaped/steam_compressor_steel')
|
||||
|
||||
// Молот
|
||||
event.shaped('gtceu:hp_steam_forge_hammer', [
|
||||
'DFD',
|
||||
'BEB',
|
||||
'CAC'
|
||||
], {
|
||||
A: 'gtceu:steel_brick_casing',
|
||||
B: 'gtceu:tin_alloy_small_fluid_pipe',
|
||||
C: '#forge:plates/steel',
|
||||
D: '#forge:plates/wrought_iron',
|
||||
E: '#forge:ingots/black_steel',
|
||||
F: 'minecraft:piston'
|
||||
}).id('gtceu:shaped/steam_hammer_steel')
|
||||
|
||||
// Печь
|
||||
event.shaped('gtceu:hp_steam_furnace', [
|
||||
'BCB',
|
||||
'DAD',
|
||||
'FFF'
|
||||
], {
|
||||
A: 'gtceu:steel_brick_casing',
|
||||
B: 'gtceu:tin_alloy_small_fluid_pipe',
|
||||
C: '#forge:plates/steel',
|
||||
D: '#forge:plates/wrought_iron',
|
||||
F: '#forge:rods/black_steel'
|
||||
}).id('gtceu:shaped/steam_furnace_steel')
|
||||
|
||||
// Сплавщик
|
||||
event.shaped('gtceu:hp_steam_alloy_smelter', [
|
||||
'FCF',
|
||||
'DAD',
|
||||
'CBC'
|
||||
], {
|
||||
A: 'gtceu:steel_brick_casing',
|
||||
B: 'gtceu:tin_alloy_small_fluid_pipe',
|
||||
C: '#forge:plates/steel',
|
||||
D: '#forge:plates/wrought_iron',
|
||||
F: '#forge:rods/black_steel'
|
||||
}).id('gtceu:shaped/steam_alloy_smelter_steel')
|
||||
|
||||
// Блоко-ломатель
|
||||
event.shaped('gtceu:hp_steam_rock_crusher', [
|
||||
'ECE',
|
||||
'BAB',
|
||||
'DDD'
|
||||
], {
|
||||
A: 'gtceu:steel_brick_casing',
|
||||
B: 'gtceu:tin_alloy_small_fluid_pipe',
|
||||
C: '#forge:drill_heads',
|
||||
D: '#forge:rods/wrought_iron',
|
||||
E: '#forge:screws/wrought_iron'
|
||||
}).id('gtceu:shaped/steam_rock_breaker_steel')
|
||||
|
||||
// Miner
|
||||
event.shaped('gtceu:hp_steam_miner', [
|
||||
'EFE',
|
||||
'BAB',
|
||||
'DCD'
|
||||
], {
|
||||
A: 'gtceu:steel_brick_casing',
|
||||
B: 'gtceu:tin_alloy_small_fluid_pipe',
|
||||
C: '#forge:drill_heads',
|
||||
D: '#forge:rods/steel',
|
||||
E: '#forge:plates/wrought_iron',
|
||||
F: '#gtceu:circuits/ulv'
|
||||
}).id('gtceu:shaped/steam_miner_steel')
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region passthrough hatches
|
||||
event.recipes.shaped('gtceu:lv_item_passthrough_hatch', [
|
||||
' A ',
|
||||
'BCB',
|
||||
' D '
|
||||
], {
|
||||
A: 'gtceu:lv_conveyor_module',
|
||||
B: 'gtceu:small_wrought_iron_gear',
|
||||
C: 'gtceu:lv_machine_hull',
|
||||
D: '#tfg:default_chests'
|
||||
}).id('gtceu:shaped/passthrough_hatch_item_lv')
|
||||
|
||||
event.recipes.shaped('gtceu:mv_item_passthrough_hatch', [
|
||||
' A ',
|
||||
'BCB',
|
||||
' D '
|
||||
], {
|
||||
A: 'gtceu:mv_conveyor_module',
|
||||
B: 'gtceu:small_bronze_gear',
|
||||
C: 'gtceu:mv_machine_hull',
|
||||
D: '#tfg:default_chests'
|
||||
}).id('gtceu:shaped/passthrough_hatch_item_mv')
|
||||
|
||||
event.recipes.shaped('gtceu:ev_item_passthrough_hatch', [
|
||||
' A ',
|
||||
'BCB',
|
||||
' D '
|
||||
], {
|
||||
A: 'gtceu:ev_conveyor_module',
|
||||
B: 'gtceu:small_titanium_gear',
|
||||
C: 'gtceu:ev_machine_hull',
|
||||
D: '#tfg:default_chests'
|
||||
}).id('gtceu:shaped/passthrough_hatch_item_ev')
|
||||
|
||||
event.recipes.shaped('gtceu:iv_item_passthrough_hatch', [
|
||||
' A ',
|
||||
'BCB',
|
||||
' D '
|
||||
], {
|
||||
A: 'gtceu:iv_conveyor_module',
|
||||
B: 'gtceu:small_tungsten_steel_gear',
|
||||
C: 'gtceu:iv_machine_hull',
|
||||
D: '#tfg:default_chests'
|
||||
}).id('gtceu:shaped/passthrough_hatch_item_iv')
|
||||
|
||||
event.recipes.shaped('gtceu:luv_item_passthrough_hatch', [
|
||||
' A ',
|
||||
'BCB',
|
||||
' D '
|
||||
], {
|
||||
A: 'gtceu:luv_conveyor_module',
|
||||
B: 'gtceu:small_hsss_gear',
|
||||
C: 'gtceu:luv_machine_hull',
|
||||
D: '#tfg:default_chests'
|
||||
}).id('gtceu:shaped/passthrough_hatch_item_luv')
|
||||
|
||||
event.recipes.shaped('gtceu:zpm_item_passthrough_hatch', [
|
||||
' A ',
|
||||
'BCB',
|
||||
' D '
|
||||
], {
|
||||
A: 'gtceu:zpm_conveyor_module',
|
||||
B: 'gtceu:small_osmiridium_gear',
|
||||
C: 'gtceu:zpm_machine_hull',
|
||||
D: '#tfg:default_chests'
|
||||
}).id('gtceu:shaped/passthrough_hatch_item_zpm')
|
||||
|
||||
event.recipes.shaped('gtceu:uv_item_passthrough_hatch', [
|
||||
' A ',
|
||||
'BCB',
|
||||
' D '
|
||||
], {
|
||||
A: 'gtceu:uv_conveyor_module',
|
||||
B: 'gtceu:small_naquadah_alloy_gear',
|
||||
C: 'gtceu:uv_machine_hull',
|
||||
D: '#tfg:default_chests'
|
||||
}).id('gtceu:shaped/passthrough_hatch_item_uv')
|
||||
|
||||
event.recipes.shaped('gtceu:lv_fluid_passthrough_hatch', [
|
||||
' A ',
|
||||
'BCB',
|
||||
' D '
|
||||
], {
|
||||
A: 'gtceu:lv_electric_pump',
|
||||
B: 'gtceu:bronze_small_fluid_pipe',
|
||||
C: 'gtceu:lv_machine_hull',
|
||||
D: '#forge:glass'
|
||||
}).id('gtceu:shaped/passthrough_hatch_fluid_lv')
|
||||
|
||||
event.recipes.shaped('gtceu:mv_fluid_passthrough_hatch', [
|
||||
' A ',
|
||||
'BCB',
|
||||
' D '
|
||||
], {
|
||||
A: 'gtceu:mv_electric_pump',
|
||||
B: 'gtceu:steel_small_fluid_pipe',
|
||||
C: 'gtceu:mv_machine_hull',
|
||||
D: '#forge:glass'
|
||||
}).id('gtceu:shaped/passthrough_hatch_fluid_mv')
|
||||
|
||||
event.remove('gtceu:shaped/passthrough_hatch_fluid')
|
||||
|
||||
event.recipes.shaped('gtceu:hv_fluid_passthrough_hatch', [
|
||||
' A ',
|
||||
'BCB',
|
||||
' D '
|
||||
], {
|
||||
A: 'gtceu:hv_electric_pump',
|
||||
B: 'gtceu:stainless_steel_small_fluid_pipe',
|
||||
C: 'gtceu:hv_machine_hull',
|
||||
D: 'gtceu:tempered_glass'
|
||||
}).id('gtceu:shaped/passthrough_hatch_fluid_hv')
|
||||
|
||||
event.recipes.shaped('gtceu:ev_fluid_passthrough_hatch', [
|
||||
' A ',
|
||||
'BCB',
|
||||
' D '
|
||||
], {
|
||||
A: 'gtceu:ev_electric_pump',
|
||||
B: 'gtceu:titanium_small_fluid_pipe',
|
||||
C: 'gtceu:ev_machine_hull',
|
||||
D: 'gtceu:tempered_glass'
|
||||
}).id('gtceu:shaped/passthrough_hatch_fluid_ev')
|
||||
|
||||
event.recipes.shaped('gtceu:iv_fluid_passthrough_hatch', [
|
||||
' A ',
|
||||
'BCB',
|
||||
' D '
|
||||
], {
|
||||
A: 'gtceu:iv_electric_pump',
|
||||
B: 'gtceu:tungsten_steel_small_fluid_pipe',
|
||||
C: 'gtceu:iv_machine_hull',
|
||||
D: 'gtceu:laminated_glass'
|
||||
}).id('gtceu:shaped/passthrough_hatch_fluid_iv')
|
||||
|
||||
event.recipes.shaped('gtceu:luv_fluid_passthrough_hatch', [
|
||||
' A ',
|
||||
'BCB',
|
||||
' D '
|
||||
], {
|
||||
A: 'gtceu:luv_electric_pump',
|
||||
B: 'gtceu:niobium_titanium_small_fluid_pipe',
|
||||
C: 'gtceu:luv_machine_hull',
|
||||
D: 'gtceu:laminated_glass'
|
||||
}).id('gtceu:shaped/passthrough_hatch_fluid_luv')
|
||||
|
||||
event.recipes.shaped('gtceu:zpm_fluid_passthrough_hatch', [
|
||||
' A ',
|
||||
'BCB',
|
||||
' D '
|
||||
], {
|
||||
A: 'gtceu:zpm_electric_pump',
|
||||
B: 'gtceu:polybenzimidazole_small_fluid_pipe',
|
||||
C: 'gtceu:zpm_machine_hull',
|
||||
D: 'gtceu:fusion_glass'
|
||||
}).id('gtceu:shaped/passthrough_hatch_fluid_zpm')
|
||||
|
||||
event.recipes.shaped('gtceu:uv_fluid_passthrough_hatch', [
|
||||
' A ',
|
||||
'BCB',
|
||||
' D '
|
||||
], {
|
||||
A: 'gtceu:uv_electric_pump',
|
||||
B: 'gtceu:naquadah_small_fluid_pipe',
|
||||
C: 'gtceu:uv_machine_hull',
|
||||
D: 'gtceu:fusion_glass'
|
||||
}).id('gtceu:shaped/passthrough_hatch_fluid_uv')
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region Long Distance Pipelines
|
||||
|
||||
event.remove({ id: 'gtceu:assembler/long_distance_item_pipe' })
|
||||
event.recipes.gtceu.assembler('long_distance_item_pipe')
|
||||
.itemInputs(
|
||||
'1x gtceu:tin_large_item_pipe',
|
||||
'4x #forge:plates/steel')
|
||||
.inputFluids(Fluid.of('gtceu:soldering_alloy', 144 / 4))
|
||||
.itemOutputs('32x gtceu:long_distance_item_pipeline')
|
||||
.circuit(2)
|
||||
.duration(300)
|
||||
.EUt(24)
|
||||
|
||||
event.remove({ id: 'gtceu:assembler/long_distance_fluid_pipe' })
|
||||
event.recipes.gtceu.assembler('long_distance_fluid_pipe')
|
||||
.itemInputs(
|
||||
'1x gtceu:bronze_large_fluid_pipe',
|
||||
'4x #forge:plates/steel')
|
||||
.inputFluids(Fluid.of('gtceu:soldering_alloy', 144 / 4))
|
||||
.itemOutputs('32x gtceu:long_distance_fluid_pipeline')
|
||||
.circuit(2)
|
||||
.duration(300)
|
||||
.EUt(24)
|
||||
|
||||
//#endregion
|
||||
|
||||
// Контроллер теплицы
|
||||
event.shaped('gtceu:greenhouse', [
|
||||
'ABA',
|
||||
'CDC',
|
||||
'BCB'
|
||||
], {
|
||||
A: '#gtceu:circuits/mv',
|
||||
B: 'gtceu:copper_single_cable',
|
||||
C: '#gtceu:circuits/mv',
|
||||
D: 'gtceu:solid_machine_casing'
|
||||
}).id('tfg:shaped/greenhouse')
|
||||
|
||||
// Drums
|
||||
const DRUMS_AND_CRATES = [
|
||||
'bismuth_bronze',
|
||||
'black_bronze'
|
||||
]
|
||||
|
||||
DRUMS_AND_CRATES.forEach(material => {
|
||||
event.shapeless(`gtceu:${material}_drum`, [`gtceu:${material}_drum`]).id(`tfg:shapeless/drum_nbt_${material}`)
|
||||
|
||||
event.shaped(`gtceu:${material}_drum`, [
|
||||
' A ',
|
||||
'BCB',
|
||||
'BCB'
|
||||
], {
|
||||
A: '#forge:tools/hammers',
|
||||
B: `#forge:plates/${material}`,
|
||||
C: `#forge:rods/long/${material}`
|
||||
}).id(`tfg:shaped/${material}_drum`)
|
||||
|
||||
event.shaped(`gtceu:${material}_crate`, [
|
||||
'CBC',
|
||||
'BAB',
|
||||
'CBC'
|
||||
], {
|
||||
A: '#forge:tools/hammers',
|
||||
B: `#forge:plates/${material}`,
|
||||
C: `#forge:rods/long/${material}`
|
||||
}).id(`tfg:shaped/${material}_crate`)
|
||||
|
||||
event.recipes.gtceu.assembler(`gtceu:${material}_drum`)
|
||||
.itemInputs(`4x #forge:plates/${material}`, `2x #forge:rods/long/${material}`)
|
||||
.itemOutputs(`gtceu:${material}_drum`)
|
||||
.duration(200)
|
||||
.EUt(16)
|
||||
.circuit(2)
|
||||
|
||||
event.recipes.gtceu.assembler(`gtceu:${material}_crate`)
|
||||
.itemInputs(`4x #forge:plates/${material}`, `4x #forge:rods/long/${material}`)
|
||||
.itemOutputs(`gtceu:${material}_crate`)
|
||||
.duration(200)
|
||||
.EUt(16)
|
||||
.circuit(1)
|
||||
|
||||
event.recipes.gtceu.macerator(`gtceu:${material}_drum`)
|
||||
.itemInputs(`gtceu:${material}_drum`)
|
||||
.itemOutputs(`6x #forge:dusts/${material}`)
|
||||
.duration(456)
|
||||
.EUt(2)
|
||||
.category(GTRecipeCategories.MACERATOR_RECYCLING)
|
||||
|
||||
event.recipes.gtceu.macerator(`gtceu:${material}_crate`)
|
||||
.itemInputs(`gtceu:${material}_crate`)
|
||||
.itemOutputs(`8x #forge:dusts/${material}`)
|
||||
.duration(608)
|
||||
.EUt(2)
|
||||
.category(GTRecipeCategories.MACERATOR_RECYCLING)
|
||||
|
||||
event.recipes.gtceu.arc_furnace(`gtceu:${material}_drum`)
|
||||
.itemInputs(`gtceu:${material}_drum`)
|
||||
.itemOutputs(`6x #forge:ingots/${material}`)
|
||||
.duration(456)
|
||||
.EUt(30)
|
||||
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
|
||||
|
||||
event.recipes.gtceu.arc_furnace(`gtceu:${material}_crate`)
|
||||
.itemInputs(`gtceu:${material}_crate`)
|
||||
.itemOutputs(`8x #forge:ingots/${material}`)
|
||||
.duration(608)
|
||||
.EUt(30)
|
||||
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
|
||||
})
|
||||
|
||||
}
|
||||
|
|
@ -9,16 +9,10 @@ function registerGTCEUMetalRecipes(event) {
|
|||
const toolHeadItem = ChemicalHelper.get(headTagPrefix, material, 1)
|
||||
if (toolHeadItem.isEmpty()) return
|
||||
|
||||
if (material.hasFlag(TFGMaterialFlags.HAS_TFC_TOOL)) {
|
||||
event.shapeless(toolItem, [
|
||||
'#forge:rods/wooden',
|
||||
toolHeadItem
|
||||
]).id(`gtceu:shaped/${toolType.name}_${material.getName()}`)
|
||||
}
|
||||
else {
|
||||
event.recipes.tfc.advanced_shapeless_crafting(TFC.itemStackProvider.of(toolItem).copyForgingBonus(), ['#forge:rods/wooden', toolHeadItem])
|
||||
.id(`gtceu:shaped/${toolType.name}_${material.getName()}`)
|
||||
}
|
||||
event.recipes.tfc.advanced_shapeless_crafting(
|
||||
TFC.itemStackProvider.of(toolItem).copyForgingBonus().copyHeat(),
|
||||
[toolHeadItem, '#forge:rods/wooden'], toolHeadItem)
|
||||
.id(`gtceu:shaped/${toolType.name}_${material.getName()}`)
|
||||
|
||||
processToolHead(headTagPrefix, extruderMold, cirucitMeta, material)
|
||||
}
|
||||
|
|
@ -281,11 +275,17 @@ function registerGTCEUMetalRecipes(event) {
|
|||
|
||||
const processPoorRawOre = (tagPrefix, material) => {
|
||||
const poorOreItem = ChemicalHelper.get(tagPrefix, material, 2)
|
||||
const crushedOreItem = ChemicalHelper.get(TagPrefix.crushed, material, 1)
|
||||
const crushedOreItem = ChemicalHelper.get(TagPrefix.crushed, material, Math.max(material.getProperty(PropertyKey.ORE).getOreMultiplier() / 2.0, 1))
|
||||
|
||||
if (poorOreItem != null && crushedOreItem != null) {
|
||||
|
||||
event.recipes.tfc.quern(crushedOreItem, poorOreItem)
|
||||
.id(`tfg:quern/${material.getName()}_crushed_ore_from_poor_raw_ore`)
|
||||
|
||||
// TODO: Remove when Greate fixes its chanced output bug
|
||||
|
||||
event.shapeless(crushedOreItem, [poorOreItem, '#forge:tools/hammers'])
|
||||
.id(`tfg:greate_workaround_crushed_${material.getName()}`)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
122
kubejs/server_scripts/gregtech/recipes.recycling.js
Normal file
122
kubejs/server_scripts/gregtech/recipes.recycling.js
Normal file
|
|
@ -0,0 +1,122 @@
|
|||
// priority: 0
|
||||
|
||||
function registerGTCEURecyclingRecipes(event) {
|
||||
|
||||
// Tantalum Capacitor
|
||||
event.recipes.gtceu.macerator('gtceu:macerator/recycling/tantulum_capacitor')
|
||||
.itemInputs('gtceu:tantalum_capacitor')
|
||||
.itemOutputs(
|
||||
ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Tantalum, 1),
|
||||
ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Polyethylene, 1)
|
||||
)
|
||||
.duration(GTMaterials.Tantalum.getMass() * 1)
|
||||
.category(GTRecipeCategories.MACERATOR_RECYCLING)
|
||||
.EUt(GTValues.VA[GTValues.ULV])
|
||||
|
||||
event.recipes.gtceu.arc_furnace('gtceu:arc_furnace/recycling/tantulum_capacitor')
|
||||
.itemInputs('gtceu:tantalum_capacitor')
|
||||
.itemOutputs(
|
||||
ChemicalHelper.get(TagPrefix.nugget, GTMaterials.Tantalum, 1),
|
||||
ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Ash, 1)
|
||||
)
|
||||
.duration(GTMaterials.Tantalum.getMass() * 1)
|
||||
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
|
||||
.EUt(GTValues.VA[GTValues.LV])
|
||||
|
||||
// Capacitor
|
||||
event.recipes.gtceu.macerator('gtceu:macerator/recycling/capacitor')
|
||||
.itemInputs('gtceu:capacitor')
|
||||
.itemOutputs(
|
||||
ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Polyethylene, 1)
|
||||
)
|
||||
.duration(GTMaterials.Polyethylene.getMass() * 1)
|
||||
.category(GTRecipeCategories.MACERATOR_RECYCLING)
|
||||
.EUt(GTValues.VA[GTValues.ULV])
|
||||
|
||||
event.recipes.gtceu.arc_furnace('gtceu:arc_furnace/recycling/capacitor')
|
||||
.itemInputs('gtceu:capacitor')
|
||||
.itemOutputs(
|
||||
ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Ash, 1)
|
||||
)
|
||||
.duration(GTMaterials.Ash.getMass() * 1)
|
||||
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
|
||||
.EUt(GTValues.VA[GTValues.LV])
|
||||
|
||||
// Empty Tier I Capacitor
|
||||
event.recipes.gtceu.macerator('gtceu:macerator/recycling/empty_tier_i_battery')
|
||||
.itemInputs('gtceu:empty_tier_i_battery')
|
||||
.itemOutputs(
|
||||
ChemicalHelper.get(TagPrefix.dust, GTMaterials.Ultimet, 6)
|
||||
)
|
||||
.duration(GTMaterials.Ultimet.getMass() * 6)
|
||||
.category(GTRecipeCategories.MACERATOR_RECYCLING)
|
||||
.EUt(GTValues.VA[GTValues.ULV])
|
||||
|
||||
event.recipes.gtceu.arc_furnace('gtceu:arc_furnace/recycling/empty_tier_i_battery')
|
||||
.itemInputs('gtceu:empty_tier_i_battery')
|
||||
.itemOutputs(
|
||||
ChemicalHelper.get(TagPrefix.ingot, GTMaterials.Ultimet, 6)
|
||||
)
|
||||
.duration(GTMaterials.Ultimet.getMass() * 6)
|
||||
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
|
||||
.EUt(GTValues.VA[GTValues.LV])
|
||||
|
||||
event.recipes.gtceu.extractor('gtceu:extractor/recycling/empty_tier_i_battery')
|
||||
.itemInputs('gtceu:empty_tier_i_battery')
|
||||
.outputFluids(Fluid.of('gtceu:ultimet', 864))
|
||||
.duration(GTMaterials.Ultimet.getMass() * 6)
|
||||
.category(GTRecipeCategories.EXTRACTOR_RECYCLING)
|
||||
.EUt(GTValues.VA[GTValues.LV])
|
||||
|
||||
// Empty Tier II Capacitor
|
||||
event.recipes.gtceu.macerator('gtceu:macerator/recycling/empty_tier_ii_battery')
|
||||
.itemInputs('gtceu:empty_tier_ii_battery')
|
||||
.itemOutputs(
|
||||
ChemicalHelper.get(TagPrefix.dust, GTMaterials.Ruridit, 6)
|
||||
)
|
||||
.duration(GTMaterials.Ruridit.getMass() * 6)
|
||||
.category(GTRecipeCategories.MACERATOR_RECYCLING)
|
||||
.EUt(GTValues.VA[GTValues.ULV])
|
||||
|
||||
event.recipes.gtceu.arc_furnace('gtceu:arc_furnace/recycling/empty_tier_ii_battery')
|
||||
.itemInputs('gtceu:empty_tier_ii_battery')
|
||||
.itemOutputs(
|
||||
ChemicalHelper.get(TagPrefix.ingot, GTMaterials.Ruridit, 6)
|
||||
)
|
||||
.duration(GTMaterials.Ruridit.getMass() * 6)
|
||||
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
|
||||
.EUt(GTValues.VA[GTValues.LV])
|
||||
|
||||
event.recipes.gtceu.extractor('gtceu:extractor/recycling/empty_tier_ii_battery')
|
||||
.itemInputs('gtceu:empty_tier_ii_battery')
|
||||
.outputFluids(Fluid.of('gtceu:ruridit', 864))
|
||||
.duration(GTMaterials.Ruridit.getMass() * 6)
|
||||
.category(GTRecipeCategories.EXTRACTOR_RECYCLING)
|
||||
.EUt(GTValues.VA[GTValues.LV])
|
||||
|
||||
// Empty Tier III Capacitor
|
||||
event.recipes.gtceu.macerator('gtceu:macerator/recycling/empty_tier_iii_battery')
|
||||
.itemInputs('gtceu:empty_tier_iii_battery')
|
||||
.itemOutputs(
|
||||
ChemicalHelper.get(TagPrefix.dust, GTMaterials.Neutronium, 6)
|
||||
)
|
||||
.duration(GTMaterials.Neutronium.getMass() * 6)
|
||||
.category(GTRecipeCategories.MACERATOR_RECYCLING)
|
||||
.EUt(GTValues.VA[GTValues.ULV])
|
||||
|
||||
event.recipes.gtceu.arc_furnace('gtceu:arc_furnace/recycling/empty_tier_iii_battery')
|
||||
.itemInputs('gtceu:empty_tier_iii_battery')
|
||||
.itemOutputs(
|
||||
ChemicalHelper.get(TagPrefix.ingot, GTMaterials.Neutronium, 6)
|
||||
)
|
||||
.duration(GTMaterials.Neutronium.getMass() * 6)
|
||||
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
|
||||
.EUt(GTValues.VA[GTValues.LV])
|
||||
|
||||
event.recipes.gtceu.extractor('gtceu:extractor/recycling/empty_tier_iii_battery')
|
||||
.itemInputs('gtceu:empty_tier_iii_battery')
|
||||
.outputFluids(Fluid.of('gtceu:neutronium', 864))
|
||||
.duration(GTMaterials.Neutronium.getMass() * 6)
|
||||
.category(GTRecipeCategories.EXTRACTOR_RECYCLING)
|
||||
.EUt(GTValues.VA[GTValues.LV])
|
||||
}
|
||||
|
|
@ -583,5 +583,8 @@ function removeGTCEURecipes(event) {
|
|||
event.remove({ id: 'gtceu:assembler/treated_trapdoor_steel' })
|
||||
event.remove({ id: 'gtceu:assembler/treated_door' })
|
||||
event.remove({ id: 'gtceu:assembler/barrel' })
|
||||
event.remove({ id: 'gtceu:assembler/book_from_leather' })
|
||||
event.remove({ id: 'gtceu:assembler/name_tag' })
|
||||
|
||||
event.remove({ id: 'gtceu:chemical_reactor/ghast_tear_separation' })
|
||||
}
|
||||
|
|
|
|||
310
kubejs/server_scripts/gregtech/recipes.tfcmetals.js
Normal file
310
kubejs/server_scripts/gregtech/recipes.tfcmetals.js
Normal file
|
|
@ -0,0 +1,310 @@
|
|||
// priority: 0
|
||||
|
||||
function registerGTCEuTFCMetalsRecipes(event)
|
||||
{
|
||||
//#region LV hull
|
||||
|
||||
event.replaceInput('gtceu:shaped/lv_machine_hull', '#forge:plates/wrought_iron', '#forge:plates/red_steel')
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region make colored steel a bit easier to compensate
|
||||
|
||||
event.recipes.gtceu.arc_furnace('tfg:black_steel_dust_to_ingot')
|
||||
.itemInputs('gtceu:black_steel_dust')
|
||||
.itemOutputs('tfc:metal/ingot/black_steel')
|
||||
.inputFluids(Fluid.of('gtceu:oxygen', 72))
|
||||
.duration(500)
|
||||
.EUt(24)
|
||||
|
||||
event.recipes.gtceu.arc_furnace('tfg:red_steel_dust_to_ingot')
|
||||
.itemInputs('gtceu:red_steel_dust')
|
||||
.itemOutputs('tfc:metal/ingot/red_steel')
|
||||
.inputFluids(Fluid.of('gtceu:oxygen', 72))
|
||||
.duration(700)
|
||||
.EUt(32)
|
||||
|
||||
event.recipes.gtceu.arc_furnace('tfg:blue_steel_dust_to_ingot')
|
||||
.itemInputs('gtceu:blue_steel_dust')
|
||||
.itemOutputs('tfc:metal/ingot/blue_steel')
|
||||
.inputFluids(Fluid.of('gtceu:oxygen', 72))
|
||||
.duration(700)
|
||||
.EUt(32)
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region add regular furnace recipes for other tfc alloys
|
||||
|
||||
event.remove({ id: 'gtceu:electric_blast_furnace/blast_bismuth_bronze' })
|
||||
event.remove({ id: 'gtceu:electric_blast_furnace/blast_bismuth_bronze_gas' })
|
||||
event.remove({ id: 'gtceu:electric_blast_furnace/blast_black_bronze' })
|
||||
event.remove({ id: 'gtceu:electric_blast_furnace/blast_black_bronze_gas' })
|
||||
event.remove({ id: 'gtceu:vacuum_freezer/cool_hot_black_bronze_ingot' })
|
||||
event.remove({ id: 'gtceu:vacuum_freezer/black_bronze' })
|
||||
event.remove({ id: 'gtceu:electric_blast_furnace/blast_sterling_silver' })
|
||||
event.remove({ id: 'gtceu:electric_blast_furnace/blast_sterling_silver_gas' })
|
||||
event.remove({ id: 'gtceu:electric_blast_furnace/blast_rose_gold' })
|
||||
event.remove({ id: 'gtceu:electric_blast_furnace/blast_rose_gold_gas' })
|
||||
|
||||
event.smelting('gtceu:bismuth_bronze_ingot', 'gtceu:bismuth_bronze_dust')
|
||||
event.smelting('gtceu:black_bronze_ingot', 'gtceu:black_bronze_dust')
|
||||
event.smelting('gtceu:sterling_silver_ingot', 'gtceu:sterling_silver_dust')
|
||||
event.smelting('gtceu:rose_gold_ingot', 'gtceu:rose_gold_dust')
|
||||
|
||||
//#endregion
|
||||
|
||||
// Add circuit to assembler recipe for redstone lamp.
|
||||
// Avoids conflict with AE2 smart cables.
|
||||
event.remove({ id: 'gtceu:assembler/redstone_lamp' })
|
||||
event.recipes.gtceu.assembler('redstone_lamp')
|
||||
.itemInputs('4x #forge:dusts/redstone', '4x #forge:dusts/glowstone')
|
||||
.itemOutputs('1x minecraft:redstone_lamp')
|
||||
.circuit(1)
|
||||
.duration(100)
|
||||
.EUt(1)
|
||||
|
||||
// Clear NBT on tanks with shapeless crafts.
|
||||
const TANK_NAMES = [
|
||||
"lv_super",
|
||||
"mv_super",
|
||||
"hv_super",
|
||||
"ev_super",
|
||||
"iv_quantum",
|
||||
"luv_quantum",
|
||||
"zpm_quantum",
|
||||
"uv_quantum",
|
||||
"uhv_quantum",
|
||||
]
|
||||
|
||||
TANK_NAMES.forEach(prefix => {
|
||||
// Craft super tanks to remove their NBT data.
|
||||
event.shapeless(`gtceu:${prefix}_tank`, [`gtceu:${prefix}_tank`])
|
||||
// Craft super chests to remove their NBT data.
|
||||
event.shapeless(`gtceu:${prefix}_chest`, [`gtceu:${prefix}_chest`])
|
||||
})
|
||||
|
||||
// red alloy, because crucible always makes 4+1=5
|
||||
|
||||
event.remove({ id: 'gtceu:mixer/red_alloy' })
|
||||
event.recipes.gtceu.mixer('tfg:red_alloy_mixer')
|
||||
.itemInputs('1x gtceu:copper_dust', '4x minecraft:redstone')
|
||||
.itemOutputs('5x gtceu:red_alloy_dust')
|
||||
.circuit(2)
|
||||
.duration(100)
|
||||
.EUt(7)
|
||||
|
||||
event.remove({ id: 'gtceu:centrifuge/red_alloy_separation' })
|
||||
event.recipes.gtceu.centrifuge('tfg:red_alloy_separation')
|
||||
.itemInputs('5x gtceu:red_alloy_dust')
|
||||
.itemOutputs('1x gtceu:copper_dust', '4x minecraft:redstone')
|
||||
.duration(900)
|
||||
.EUt(30)
|
||||
|
||||
event.remove({ id: 'gtceu:alloy_smelter/copper_dust_and_redstone_dust_into_red_alloy' })
|
||||
event.recipes.gtceu.alloy_smelter('tfg:copper_dust_and_redstone_dust_into_red_alloy')
|
||||
.itemInputs('1x gtceu:copper_dust', '4x minecraft:redstone')
|
||||
.itemOutputs('5x gtceu:red_alloy_ingot')
|
||||
.duration(50)
|
||||
.EUt(16)
|
||||
|
||||
event.remove({ id: 'gtceu:alloy_smelter/annealed_copper_dust_and_redstone_dust_into_red_alloy' })
|
||||
event.recipes.gtceu.alloy_smelter('tfg:annealed_copper_dust_and_redstone_dust_into_red_alloy')
|
||||
.itemInputs('1x gtceu:annealed_copper_dust', '4x minecraft:redstone')
|
||||
.itemOutputs('5x gtceu:red_alloy_ingot')
|
||||
.duration(50)
|
||||
.EUt(16)
|
||||
|
||||
event.remove({ id: 'gtceu:alloy_smelter/copper_ingot_and_redstone_dust_into_red_alloy' })
|
||||
event.recipes.gtceu.alloy_smelter('tfg:copper_ingot_and_redstone_dust_into_red_alloy')
|
||||
.itemInputs('1x minecraft:copper_ingot', '4x minecraft:redstone')
|
||||
.itemOutputs('5x gtceu:red_alloy_ingot')
|
||||
.duration(50)
|
||||
.EUt(16)
|
||||
|
||||
event.remove({ id: 'gtceu:alloy_smelter/annealed_copper_ingot_and_redstone_dust_into_red_alloy' })
|
||||
event.recipes.gtceu.alloy_smelter('tfg:annealed_copper_ingot_and_redstone_dust_into_red_alloy')
|
||||
.itemInputs('1x gtceu:annealed_copper_ingot', '4x minecraft:redstone')
|
||||
.itemOutputs('5x gtceu:red_alloy_ingot')
|
||||
.duration(50)
|
||||
.EUt(16)
|
||||
|
||||
// steam machines
|
||||
|
||||
event.remove({ id: 'gtceu:arc_furnace/arc_hp_steam_forge_hammer' })
|
||||
event.recipes.gtceu.arc_furnace('tfg:arc_hp_steam_forge_hammer')
|
||||
.itemInputs('1x gtceu:hp_steam_forge_hammer')
|
||||
.itemOutputs('7x gtceu:wrought_iron_ingot', '2x gtceu:steel_ingot', '2x gtceu:tin_alloy_ingot', '1x #forge:ingots/black_steel')
|
||||
.duration(3310)
|
||||
.EUt(30)
|
||||
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
|
||||
|
||||
event.remove({ id: 'gtceu:macerator/macerate_hp_steam_forge_hammer' })
|
||||
event.recipes.gtceu.macerator('tfg:macerate_hp_steam_forge_hammer')
|
||||
.itemInputs('1x gtceu:hp_steam_forge_hammer')
|
||||
.itemOutputs('7x gtceu:wrought_iron_dust', '2x gtceu:steel_dust', '2x gtceu:tin_alloy_dust', '12x gtceu:brick_dust', '1x #forge:dusts/black_steel')
|
||||
.duration(3254)
|
||||
.EUt(8)
|
||||
.category(GTRecipeCategories.MACERATOR_RECYCLING)
|
||||
|
||||
event.remove({ id: 'gtceu:arc_furnace/arc_hp_steam_extractor' })
|
||||
event.recipes.gtceu.arc_furnace('tfg:arc_hp_steam_extractor')
|
||||
.itemInputs('1x gtceu:hp_steam_extractor')
|
||||
.itemOutputs('7x gtceu:wrought_iron_ingot', '2x gtceu:steel_ingot', '2x gtceu:tin_alloy_ingot')
|
||||
.duration(3310)
|
||||
.EUt(30)
|
||||
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
|
||||
|
||||
event.remove({ id: 'gtceu:macerator/macerate_hp_steam_extractor' })
|
||||
event.recipes.gtceu.macerator('tfg:macerate_hp_steam_extractor')
|
||||
.itemInputs('1x gtceu:hp_steam_extractor')
|
||||
.itemOutputs('7x gtceu:wrought_iron_dust', '2x gtceu:steel_dust', '2x gtceu:tin_alloy_dust', '12x gtceu:brick_dust')
|
||||
.duration(3254)
|
||||
.EUt(8)
|
||||
.category(GTRecipeCategories.MACERATOR_RECYCLING)
|
||||
|
||||
event.remove({ id: 'gtceu:arc_furnace/arc_hp_steam_macerator' })
|
||||
event.recipes.gtceu.arc_furnace('tfg:arc_hp_steam_macerator')
|
||||
.itemInputs('1x gtceu:hp_steam_macerator')
|
||||
.itemOutputs('7x gtceu:wrought_iron_ingot', '2x gtceu:steel_ingot', '1x #forge:ingots/black_steel', '1x gtceu:tin_alloy_ingot')
|
||||
.duration(3310)
|
||||
.EUt(30)
|
||||
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
|
||||
|
||||
event.remove({ id: 'gtceu:macerator/macerate_hp_steam_macerator' })
|
||||
event.recipes.gtceu.macerator('tfg:macerate_hp_steam_macerator')
|
||||
.itemInputs('1x gtceu:hp_steam_macerator')
|
||||
.itemOutputs('7x gtceu:wrought_iron_dust', '2x gtceu:steel_dust', '1x #forge:dusts/black_steel', '1x gtceu:tin_alloy_dust', '12x gtceu:brick_dust')
|
||||
.duration(3254)
|
||||
.EUt(8)
|
||||
.category(GTRecipeCategories.MACERATOR_RECYCLING)
|
||||
|
||||
event.remove({ id: 'gtceu:arc_furnace/arc_hp_steam_compressor' })
|
||||
event.recipes.gtceu.arc_furnace('tfg:arc_hp_steam_compressor')
|
||||
.itemInputs('1x gtceu:hp_steam_compressor')
|
||||
.itemOutputs('8x gtceu:wrought_iron_ingot', '1x gtceu:steel_ingot', '2x gtceu:tin_alloy_ingot')
|
||||
.duration(3310)
|
||||
.EUt(30)
|
||||
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
|
||||
|
||||
event.remove({ id: 'gtceu:macerator/macerate_hp_steam_compressor' })
|
||||
event.recipes.gtceu.macerator('tfg:macerate_hp_steam_compressor')
|
||||
.itemInputs('1x gtceu:hp_steam_compressor')
|
||||
.itemOutputs('8x gtceu:wrought_iron_dust', '1x gtceu:steel_dust', '2x gtceu:tin_alloy_dust', '12x gtceu:brick_dust')
|
||||
.duration(3254)
|
||||
.EUt(8)
|
||||
.category(GTRecipeCategories.MACERATOR_RECYCLING)
|
||||
|
||||
event.remove({ id: 'gtceu:arc_furnace/arc_hp_steam_furnace' })
|
||||
event.recipes.gtceu.arc_furnace('tfg:arc_hp_steam_furnace')
|
||||
.itemInputs('1x gtceu:hp_steam_furnace')
|
||||
.itemOutputs('7x gtceu:wrought_iron_ingot', '2x gtceu:tin_alloy_ingot', '1x gtceu:steel_ingot', '1x #forge:ingots/black_steel')
|
||||
.duration(3310)
|
||||
.EUt(30)
|
||||
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
|
||||
|
||||
event.remove({ id: 'gtceu:macerator/macerate_hp_steam_furnace' })
|
||||
event.recipes.gtceu.macerator('tfg:macerate_hp_steam_furnace')
|
||||
.itemInputs('1x gtceu:hp_steam_furnace')
|
||||
.itemOutputs('7x gtceu:wrought_iron_dust', '2x gtceu:tin_alloy_dust', '1x gtceu:steel_dust', '1x #forge:dusts/black_steel', '12x gtceu:brick_dust')
|
||||
.duration(3254)
|
||||
.EUt(8)
|
||||
.category(GTRecipeCategories.MACERATOR_RECYCLING)
|
||||
|
||||
event.remove({ id: 'gtceu:arc_furnace/arc_hp_steam_alloy_smelter' })
|
||||
event.recipes.gtceu.arc_furnace('tfg:arc_hp_steam_alloy_smelter')
|
||||
.itemInputs('1x gtceu:hp_steam_alloy_smelter')
|
||||
.itemOutputs('7x gtceu:wrought_iron_ingot', '3x gtceu:steel_ingot', '1x gtceu:tin_alloy_ingot', '1x #forge:ingots/black_steel')
|
||||
.duration(3310)
|
||||
.EUt(30)
|
||||
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
|
||||
|
||||
event.remove({ id: 'gtceu:macerator/macerate_hp_steam_alloy_smelter' })
|
||||
event.recipes.gtceu.macerator('tfg:macerate_hp_steam_alloy_smelter')
|
||||
.itemInputs('1x gtceu:hp_steam_alloy_smelter')
|
||||
.itemOutputs('7x gtceu:wrought_iron_dust', '3x gtceu:steel_dust', '1x gtceu:tin_alloy_dust', '1x #forge:dusts/black_steel', '12x gtceu:brick_dust')
|
||||
.duration(3254)
|
||||
.EUt(8)
|
||||
.category(GTRecipeCategories.MACERATOR_RECYCLING)
|
||||
|
||||
event.remove({ id: 'gtceu:arc_furnace/arc_hp_steam_rock_crusher' })
|
||||
event.recipes.gtceu.arc_furnace('tfg:arc_hp_steam_rock_crusher')
|
||||
.itemInputs('1x gtceu:hp_steam_rock_crusher')
|
||||
.itemOutputs('6x gtceu:wrought_iron_ingot', '2x gtceu:tin_alloy_ingot')
|
||||
.duration(3310)
|
||||
.EUt(30)
|
||||
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
|
||||
|
||||
event.remove({ id: 'gtceu:macerator/macerate_hp_steam_rock_crusher' })
|
||||
event.recipes.gtceu.macerator('tfg:macerate_hp_steam_rock_crusher')
|
||||
.itemInputs('1x gtceu:hp_steam_rock_crusher')
|
||||
.itemOutputs('6x gtceu:wrought_iron_dust', '2x gtceu:tin_alloy_dust', '12x gtceu:brick_dust')
|
||||
.duration(3254)
|
||||
.EUt(8)
|
||||
.category(GTRecipeCategories.MACERATOR_RECYCLING)
|
||||
|
||||
event.remove({ id: 'gtceu:arc_furnace/arc_hp_steam_miner' })
|
||||
event.recipes.gtceu.arc_furnace('tfg:arc_hp_steam_miner')
|
||||
.itemInputs('1x gtceu:hp_steam_miner')
|
||||
.itemOutputs('7x gtceu:wrought_iron_ingot', '2x gtceu:tin_alloy_ingot', '1x #forge:ingots/steel')
|
||||
.duration(3310)
|
||||
.EUt(30)
|
||||
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
|
||||
|
||||
event.remove({ id: 'gtceu:macerator/macerate_hp_steam_miner' })
|
||||
event.recipes.gtceu.macerator('tfg:macerate_hp_steam_miner')
|
||||
.itemInputs('1x gtceu:hp_steam_miner')
|
||||
.itemOutputs('7x gtceu:wrought_iron_dust', '2x gtceu:tin_alloy_dust', '1x #forge:dusts/steel', '12x gtceu:brick_dust')
|
||||
.duration(3254)
|
||||
.EUt(8)
|
||||
.category(GTRecipeCategories.MACERATOR_RECYCLING)
|
||||
|
||||
event.remove({ id: 'gtceu:arc_furnace/arc_hp_steam_solid_boiler' })
|
||||
event.recipes.gtceu.arc_furnace('tfg:arc_hp_steam_solid_boiler')
|
||||
.itemInputs('1x gtceu:hp_steam_solid_boiler')
|
||||
.itemOutputs('5x gtceu:wrought_iron_ingot', '4x #forge:ingots/steel', '2x gtceu:tin_alloy_ingot')
|
||||
.duration(3310)
|
||||
.EUt(30)
|
||||
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
|
||||
|
||||
event.remove({ id: 'gtceu:macerator/macerate_hp_steam_solid_boiler' })
|
||||
event.recipes.gtceu.macerator('tfg:macerate_hp_steam_solid_boiler')
|
||||
.itemInputs('1x gtceu:hp_steam_solid_boiler')
|
||||
.itemOutputs('5x gtceu:wrought_iron_dust', '4x #forge:dusts/steel', '2x gtceu:tin_alloy_dust', '12x gtceu:brick_dust')
|
||||
.duration(3254)
|
||||
.EUt(8)
|
||||
.category(GTRecipeCategories.MACERATOR_RECYCLING)
|
||||
|
||||
event.remove({ id: 'gtceu:arc_furnace/arc_hp_steam_liquid_boiler' })
|
||||
event.recipes.gtceu.arc_furnace('tfg:arc_hp_steam_liquid_boiler')
|
||||
.itemInputs('1x gtceu:hp_steam_liquid_boiler')
|
||||
.itemOutputs('5x gtceu:wrought_iron_ingot', '4x #forge:ingots/steel', '2x gtceu:tin_alloy_ingot')
|
||||
.duration(3310)
|
||||
.EUt(30)
|
||||
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
|
||||
|
||||
event.remove({ id: 'gtceu:macerator/macerate_hp_steam_liquid_boiler' })
|
||||
event.recipes.gtceu.macerator('tfg:macerate_hp_steam_liquid_boiler')
|
||||
.itemInputs('1x gtceu:hp_steam_liquid_boiler')
|
||||
.itemOutputs('5x gtceu:wrought_iron_dust', '4x #forge:dusts/steel', '2x gtceu:tin_alloy_dust', '12x gtceu:brick_dust')
|
||||
.duration(3254)
|
||||
.EUt(8)
|
||||
.category(GTRecipeCategories.MACERATOR_RECYCLING)
|
||||
|
||||
event.remove({ id: 'gtceu:arc_furnace/arc_hp_steam_solar_boiler' })
|
||||
event.recipes.gtceu.arc_furnace('tfg:arc_hp_steam_solar_boiler')
|
||||
.itemInputs('1x gtceu:hp_steam_solar_boiler')
|
||||
.itemOutputs('5x gtceu:wrought_iron_ingot', '4x #forge:ingots/silver', '2x gtceu:tin_alloy_ingot')
|
||||
.duration(3310)
|
||||
.EUt(30)
|
||||
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
|
||||
|
||||
event.remove({ id: 'gtceu:macerator/macerate_hp_steam_solar_boiler' })
|
||||
event.recipes.gtceu.macerator('tfg:macerate_hp_steam_solar_boiler')
|
||||
.itemInputs('1x gtceu:hp_steam_solar_boiler')
|
||||
.itemOutputs('5x gtceu:wrought_iron_dust', '4x #forge:dusts/silver', '2x gtceu:tin_alloy_dust', '12x gtceu:brick_dust')
|
||||
.duration(3254)
|
||||
.EUt(8)
|
||||
.category(GTRecipeCategories.MACERATOR_RECYCLING)
|
||||
|
||||
//#endregion
|
||||
}
|
||||
|
|
@ -57,6 +57,12 @@ const registerGTCEUItemTags = (event) => {
|
|||
{
|
||||
event.remove('ae2:p2p_attunements/fluid_p2p_tunnel', `gtceu:${dyeName}_dye_bucket`)
|
||||
})
|
||||
|
||||
// Piglin loved
|
||||
event.add('minecraft:piglin_loved', 'gtceu:tiny_pyrite_dust')
|
||||
event.add('minecraft:piglin_loved', 'gtceu:poor_raw_pyrite')
|
||||
event.add('minecraft:piglin_loved', 'gtceu:raw_pyrite')
|
||||
event.add('minecraft:piglin_loved', 'gtceu:rich_raw_pyrite')
|
||||
}
|
||||
|
||||
const registerGTCEUBlockTags = (event) => {
|
||||
|
|
|
|||
|
|
@ -59,42 +59,106 @@ const getFillingNBT = (material, amount) => {
|
|||
}
|
||||
|
||||
function generatePlatedBlockRecipe(event, material) {
|
||||
// firmaciv plated blocks don't have this property
|
||||
let tfcProperty = material.getProperty(TFGPropertyKey.TFC_PROPERTY)
|
||||
let outputMaterial = (tfcProperty == null || tfcProperty.getOutputMaterial() == null) ? material : tfcProperty.getOutputMaterial()
|
||||
|
||||
let plateItem = ChemicalHelper.get(TagPrefix.plate, material, 1);
|
||||
|
||||
let platedBlock = ChemicalHelper.get(TFGTagPrefix.blockPlated, material, 1);
|
||||
let platedSlab = ChemicalHelper.get(TFGTagPrefix.slabPlated, material, 1);
|
||||
let platedStair = ChemicalHelper.get(TFGTagPrefix.stairPlated, material, 1);
|
||||
|
||||
let tfcMetalName = material.getName();
|
||||
if (tfcMetalName == "iron")
|
||||
tfcMetalName = "cast_iron";
|
||||
|
||||
event.recipes.create.item_application(platedBlock, ['#forge:stone_bricks', plateItem])
|
||||
.id(`tfg:item_application/${material.getName()}_plated_block`)
|
||||
event.recipes.createDeploying(platedBlock, ['#forge:stone_bricks', plateItem])
|
||||
.id(`tfg:deploying/${material.getName()}_plated_block`)
|
||||
event.recipes.gtceu.assembler(`tfg:assembler/${material.getName()}_plated_block`)
|
||||
event.recipes.gtceu.assembler(`tfg:${material.getName()}_plated_block`)
|
||||
.itemInputs('#forge:stone_bricks', plateItem)
|
||||
.itemOutputs(platedBlock)
|
||||
.circuit(10)
|
||||
.duration(50)
|
||||
.EUt(4)
|
||||
.EUt(GTValues.VA[GTValues.ULV])
|
||||
|
||||
if (tfcProperty != null) {
|
||||
event.recipes.tfc.heating(platedBlock, tfcProperty.getMeltTemp())
|
||||
.resultFluid(Fluid.of(outputMaterial.getFluid(), 144))
|
||||
.id(`tfc:heating/metal/${tfcMetalName}_block`)
|
||||
}
|
||||
event.recipes.gtceu.macerator(`tfg:${material.getName()}_plated_block`)
|
||||
.itemInputs(platedBlock)
|
||||
.itemOutputs(ChemicalHelper.get(TagPrefix.dust, material, 1), 'gtceu:stone_dust')
|
||||
.duration(material.getMass())
|
||||
.category(GTRecipeCategories.MACERATOR_RECYCLING)
|
||||
.EUt(GTValues.VA[GTValues.ULV])
|
||||
event.recipes.gtceu.arc_furnace(`tfg:${material.getName()}_plated_block`)
|
||||
.itemInputs(platedBlock)
|
||||
.itemOutputs(ChemicalHelper.get(TagPrefix.ingot, material, 1), 'gtceu:ash_dust')
|
||||
.duration(material.getMass())
|
||||
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
|
||||
.EUt(GTValues.VA[GTValues.LV])
|
||||
|
||||
|
||||
event.recipes.create.item_application(platedSlab, ['#tfg:brick_slabs', plateItem])
|
||||
.id(`tfg:item_application/${material.getName()}_plated_slab`)
|
||||
event.recipes.createDeploying(platedSlab, ['#tfg:brick_slabs', plateItem])
|
||||
.id(`tfg:deploying/${material.getName()}_plated_slab`)
|
||||
event.recipes.gtceu.assembler(`tfg:assembler/${material.getName()}_plated_slab`)
|
||||
event.recipes.gtceu.assembler(`tfg:${material.getName()}_plated_slab`)
|
||||
.itemInputs('#tfg:brick_slabs', plateItem)
|
||||
.itemOutputs(platedSlab)
|
||||
.circuit(10)
|
||||
.duration(50)
|
||||
.EUt(4)
|
||||
.EUt(GTValues.VA[GTValues.ULV])
|
||||
|
||||
if (tfcProperty != null) {
|
||||
event.recipes.tfc.heating(platedSlab, tfcProperty.getMeltTemp())
|
||||
.resultFluid(Fluid.of(outputMaterial.getFluid(), 144))
|
||||
.id(`tfc:heating/metal/${tfcMetalName}_block_slab`)
|
||||
}
|
||||
event.recipes.gtceu.macerator(`tfg:${material.getName()}_plated_slab`)
|
||||
.itemInputs(platedSlab)
|
||||
.itemOutputs(ChemicalHelper.get(TagPrefix.dust, material, 1), 'gtceu:small_stone_dust')
|
||||
.duration(material.getMass())
|
||||
.category(GTRecipeCategories.MACERATOR_RECYCLING)
|
||||
.EUt(GTValues.VA[GTValues.ULV])
|
||||
event.recipes.gtceu.arc_furnace(`tfg:${material.getName()}_plated_slab`)
|
||||
.itemInputs(platedSlab)
|
||||
.itemOutputs(ChemicalHelper.get(TagPrefix.ingot, material, 1), 'gtceu:small_ash_dust')
|
||||
.duration(material.getMass())
|
||||
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
|
||||
.EUt(GTValues.VA[GTValues.LV])
|
||||
|
||||
|
||||
event.recipes.create.item_application(platedStair, ['#tfg:brick_stairs', plateItem])
|
||||
.id(`tfg:item_application/${material.getName()}_plated_stair`)
|
||||
event.recipes.createDeploying(platedStair, ['#tfg:brick_stairs', plateItem])
|
||||
.id(`tfg:deploying/${material.getName()}_plated_stair`)
|
||||
event.recipes.gtceu.assembler(`tfg:assembler/${material.getName()}_plated_stair`)
|
||||
event.recipes.gtceu.assembler(`tfg:${material.getName()}_plated_stair`)
|
||||
.itemInputs('#tfg:brick_stairs', plateItem)
|
||||
.itemOutputs(platedStair)
|
||||
.circuit(10)
|
||||
.duration(50)
|
||||
.EUt(4)
|
||||
.EUt(GTValues.VA[GTValues.ULV])
|
||||
|
||||
if (tfcProperty != null) {
|
||||
event.recipes.tfc.heating(platedStair, tfcProperty.getMeltTemp())
|
||||
.resultFluid(Fluid.of(outputMaterial.getFluid(), 144))
|
||||
.id(`tfc:heating/metal/${tfcMetalName}_block_stairs`)
|
||||
}
|
||||
event.recipes.gtceu.macerator(`tfg:${material.getName()}_plated_stair`)
|
||||
.itemInputs(platedStair)
|
||||
.itemOutputs(ChemicalHelper.get(TagPrefix.dust, material, 1), 'gtceu:stone_dust')
|
||||
.duration(material.getMass())
|
||||
.category(GTRecipeCategories.MACERATOR_RECYCLING)
|
||||
.EUt(GTValues.VA[GTValues.ULV])
|
||||
event.recipes.gtceu.arc_furnace(`tfg:${material.getName()}_plated_stair`)
|
||||
.itemInputs(platedStair)
|
||||
.itemOutputs(ChemicalHelper.get(TagPrefix.ingot, material, 1), 'gtceu:ash_dust')
|
||||
.duration(material.getMass())
|
||||
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
|
||||
.EUt(GTValues.VA[GTValues.LV])
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue