Files
TFG/kubejs/server_scripts/gregtech/recipes.js
2024-10-19 23:34:24 +07:00

2199 lines
76 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// priority: 0
const registerGregTechRecipes = (e) => {
//#region Обработчики рецептов основанных на материалах
const makeToolRecipe = (toolType, headTagPrefix, extruderMold, cirucitMeta, material) => {
const toolItem = ToolHelper.get(toolType, material)
if (toolItem.isEmpty()) return
const toolHeadItem = ChemicalHelper.get(headTagPrefix, material, 1)
if (toolHeadItem.isEmpty()) return
if (material.hasFlag(TFGMaterialFlags.HAS_TFC_TOOL)) {
e.shapeless(toolItem, [
'#forge:rods/wooden',
toolHeadItem
]).id(`gtceu:shaped/${toolType.name}_${material.getName()}`)
}
else {
e.recipes.tfc.advanced_shapeless_crafting(TFC.itemStackProvider.of(toolHeadItem).copyForgingBonus(), ['#forge:rods/wooden', toolHeadItem])
.id(`gtceu:shaped/${toolType.name}_${material.getName()}`)
}
processToolHead(headTagPrefix, extruderMold, cirucitMeta, material)
}
const processToolHead = (headTagPrefix, extruderMold, cirucitMeta, material) => {
const toolHeadItem = ChemicalHelper.get(headTagPrefix, material, 1)
if (toolHeadItem.isEmpty()) return
if (material.hasProperty(PropertyKey.INGOT)) {
const ingotItem = ChemicalHelper.get(TagPrefix.ingot, material, 1)
if (ingotItem.isEmpty()) return
e.recipes.gtceu.extruder(`tfg:extrude_${material.getName()}_ingot_to_${new String(headTagPrefix.name).toLowerCase()}_head`)
.itemInputs(ingotItem.copyWithCount(Math.floor(headTagPrefix.materialAmount() / GTValues.M)))
.notConsumable(extruderMold)
.itemOutputs(toolHeadItem)
.duration(12).EUt(32)
} else if (material.hasProperty(PropertyKey.GEM)) {
const gemItem = ChemicalHelper.get(TagPrefix.gem, material, 1)
if (gemItem.isEmpty()) return
e.recipes.gtceu.extruder(`tfg:engrave_${material.getName()}_gem_to_${new String(headTagPrefix.name).toLowerCase()}_head`)
.itemInputs(gemItem.copyWithCount(Math.floor(headTagPrefix.materialAmount() / GTValues.M)))
.notConsumable(ChemicalHelper.get(TagPrefix.lens, GTMaterials.Glass, 1))
.circuit(cirucitMeta)
.itemOutputs(toolHeadItem)
.duration(12).EUt(32)
}
// else: ignore :3
}
const processToolMortar = (toolType, material) => {
const toolItem = ToolHelper.get(toolType, material)
if (toolItem.isEmpty()) return
const usableTagPrefix = material.hasProperty(PropertyKey.GEM) ? TagPrefix.gem : TagPrefix.ingot;
const usableItem = ChemicalHelper.get(usableTagPrefix, material, 1)
if (usableItem.isEmpty()) return
e.shaped(toolItem, [
' A ',
'BAB',
'BBB'
], {
A: usableItem,
B: '#tfc:rock/raw',
}).id(`gtceu:shaped/mortar_${material.getName()}`)
}
const processNugget = (tagPrefix, material) => {
if (material != TFGMaterials.Unknown) return
const item = ChemicalHelper.get(tagPrefix, material, 1)
if (item.isEmpty()) return
e.remove({ id: `gtceu:alloy_smelter/alloy_smelt_${material.getName()}_to_nugget` })
e.remove({ id: `gtceu:fluid_solidifier/solidify_${material.getName()}_to_nugget` })
}
const processIngot = (tagPrefix, material) => {
const ingotItem = ChemicalHelper.get(tagPrefix, material, 1)
if (material.hasFlag(MaterialFlags.GENERATE_PLATE) && material != GTMaterials.Wood && material != GTMaterials.TreatedWood && !material.hasProperty(PropertyKey.POLYMER))
{
const plateStack = ChemicalHelper.get(TagPrefix.plate, material, 1)
const blockStack = ChemicalHelper.get(TagPrefix.block, material, 1)
let matAmount = TagPrefix.block.getMaterialAmount(material) / GTValues.M;
if (!plateStack.isEmpty()) {
// Слиток -> Стержень
e.recipes.createPressing(plateStack.withChance(0.8), ingotItem)
.id(`tfg:pressing/${material.getName()}_plate`)
if (!blockStack.isEmpty() && GTMaterials.Stone != material) {
// 9х Слиток -> Блок
e.recipes.createCompacting(blockStack, ingotItem.withCount(matAmount))
.heated()
.id(`tfg:compacting/${material.getName()}_block`)
}
}
else
{
if (!blockStack.isEmpty()) {
// Блок из гемов -> 9 Пластин
e.recipes.createCutting(plateStack.withCount(matAmount).withChance(0.65), blockStack)
.id(`tfg:cutting/${material.getName()}_plate`)
}
}
}
}
const processPlate = (tagPrefix, material) => {
const item = ChemicalHelper.get(tagPrefix, material, 1)
if (item.isEmpty()) return
e.remove({ id: `gtceu:shaped/plate_${material.getName()}` })
}
const processPlateDouble = (tagPrefix, material) => {
const item = ChemicalHelper.get(tagPrefix, material, 1)
if (item.isEmpty()) return
e.remove({ id: `gtceu:shaped/plate_double_${material.getName()}` })
}
const processBlock = (tagPrefix, material) => {
const item = ChemicalHelper.get(tagPrefix, material, 1)
if (item.isEmpty()) return
e.remove({ id: `gtceu:compressor/compress_${material.getName()}_to_block` })
}
const processRod = (tagPrefix, material) => {
const rodItem = ChemicalHelper.get(tagPrefix, material, 1)
if (rodItem.isEmpty()) return
const ingotItem = ChemicalHelper.get(tagPrefix, material, 1)
if (ingotItem.isEmpty()) return
if (!material.hasFlag(MaterialFlags.GENERATE_ROD) || material == GTMaterials.Wood) return
if (ingotItem.isEmpty() || rodItem.isEmpty()) return
// Прокатка стержней
e.custom({
type: "createaddition:rolling",
input: ingotItem.toJson(),
result: rodItem.toJson()
}).id(`tfg:rolling/${material.getName()}_rod`)
}
const processRodLong = (tagPrefix, material) => {
const item = ChemicalHelper.get(tagPrefix, material, 1)
if (item.isEmpty()) return
e.remove({ id: `gtceu:shaped/stick_long_stick_${material.getName()}` })
}
const processPoorRawOre = (tagPrefix, material) => {
const poorOreItem = ChemicalHelper.get(tagPrefix, material, 1)
if (poorOreItem.isEmpty()) return
const crushedOreItem = ChemicalHelper.get(TagPrefix.crushed, material, 1)
if (crushedOreItem.isEmpty()) return
// Бедная сырая руда -> Дробленная руда (75%)
e.recipes.createCrushing([crushedOreItem.withChance(0.75)], poorOreItem)
.processingTime(200)
.id(`tfg:crushing/${material.getName()}_crushed_ore_from_poor_raw_ore`)
}
const processNormalRawOre = (tagPrefix, material) => {
const normalOreItem = ChemicalHelper.get(tagPrefix, material, 1)
if (normalOreItem.isEmpty()) return
const crushedOreItem = ChemicalHelper.get(TagPrefix.crushed, material, 1)
if (crushedOreItem.isEmpty()) return
// Нормальная сырая руда -> Дробленная руда + Дробленная руда (20%)
e.recipes.createCrushing([crushedOreItem, crushedOreItem.withChance(0.2)], normalOreItem)
.processingTime(200)
.id(`tfg:crushing/${material.getName()}_crushed_ore_from_normal_raw_ore`)
}
const processRichRawOre = (tagPrefix, material) => {
const richOreItem = ChemicalHelper.get(tagPrefix, material, 1)
if (richOreItem.isEmpty()) return
const crushedOreItem = ChemicalHelper.get(TagPrefix.crushed, material, 1)
if (crushedOreItem.isEmpty()) return
// Богатая сырая руда -> Дробленная руда + Дробленная руда (20%)
e.recipes.createCrushing([crushedOreItem, crushedOreItem, crushedOreItem.withChance(0.2)], richOreItem)
.processingTime(200)
.id(`tfg:crushing/${material.getName()}_crushed_ore_from_rich_raw_ore`)
}
const processCrushedDust = (tagPrefix, material) => {
const crushedDustItem = ChemicalHelper.get(tagPrefix, material, 1)
if (crushedDustItem.isEmpty()) return
const pureDustItem = ChemicalHelper.get(TagPrefix.dustPure, material, 1)
if (pureDustItem.isEmpty()) return
// Дробленная руда -> Очищенная руда (90%)
e.recipes.createSplashing(pureDustItem.withChance(0.9), crushedDustItem)
.id(`tfg:splashing/${material.getName()}_purified_ore`)
// Дробленная руда -> Очищенная руда
e.custom({
type: "ae2:transform",
circumstance: {
type: "fluid",
tag: "tfc:water"
},
ingredients: [
crushedDustItem.toJson()
],
result: pureDustItem.toJson()
}).id(`tfg:ae_transform/${material.getName()}_purified_ore`)
}
const processImpureDust = (tagPrefix, material) => {
const impureDustItem = ChemicalHelper.get(tagPrefix, material, 1)
if (impureDustItem.isEmpty()) return
const dustItem = ChemicalHelper.get(TagPrefix.dust, material, 1)
if (dustItem.isEmpty()) return
// Грязная пыль -> Пыль (90%)
e.recipes.createSplashing(dustItem.withChance(0.9), impureDustItem)
.id(`tfg:splashing/${material.getName()}_dust_from_impure`)
// Грязная пыль -> Пыль
e.custom({
type: "ae2:transform",
circumstance: {
type: "fluid",
tag: "tfc:water"
},
ingredients: [
impureDustItem.toJson()
],
result: dustItem.toJson()
}).id(`tfg:ae_transform/${material.getName()}_dust_from_impure`)
}
const processPureDust = (tagPrefix, material) => {
const pureDust = ChemicalHelper.get(tagPrefix, material, 1)
if (pureDust.isEmpty()) return
const dustItem = ChemicalHelper.get(TagPrefix.dust, material, 1)
if (dustItem.isEmpty()) return
// Очищенная пыль -> Пыль (90%)
e.recipes.createSplashing(dustItem.withChance(0.9), pureDust)
.id(`tfg:splashing/${material.getName()}_dust_from_pure`)
// Очищенная пыль -> Пыль
e.custom({
type: "ae2:transform",
circumstance: {
type: "fluid",
tag: "tfc:water"
},
ingredients: [
pureDust.toJson()
],
result: dustItem.toJson()
}).id(`tfg:ae_transform/${material.getName()}_dust_from_pure`)
}
const processDust = (tagPrefix, material) => {
const dustItem = ChemicalHelper.get(tagPrefix, material, 1)
if (dustItem.isEmpty()) return
const ingotItem = ChemicalHelper.get(TagPrefix.ingot, material, 1)
const gemItem = ChemicalHelper.get(TagPrefix.gem, material, 1)
if (!ingotItem.isEmpty()) {
e.recipes.createCrushing(dustItem, ingotItem)
.processingTime(250)
.id(`tfg:crushing/${material.getName()}_dust`)
}
if (!gemItem.isEmpty()) {
e.recipes.createMilling(dustItem, gemItem)
.processingTime(200)
.id(`tfg:milling/${material.getName()}_dust`)
}
}
GTMaterialRegistry.getRegisteredMaterials().forEach(material => {
const toolProperty = material.getProperty(PropertyKey.TOOL)
const ingotProperty = material.getProperty(PropertyKey.INGOT)
const oreProperty = material.getProperty(PropertyKey.ORE)
if (toolProperty != null) {
makeToolRecipe(GTToolType.SWORD, TFGTagPrefix.toolHeadSword, 'tfg:sword_head_extruder_mold', 1, material)
makeToolRecipe(GTToolType.PICKAXE, TFGTagPrefix.toolHeadPickaxe, 'tfg:pickaxe_head_extruder_mold', 2, material)
makeToolRecipe(GTToolType.AXE, TFGTagPrefix.toolHeadAxe, 'tfg:axe_head_extruder_mold', 3, material)
makeToolRecipe(GTToolType.SHOVEL, TFGTagPrefix.toolHeadShovel, 'tfg:shovel_head_extruder_mold', 4, material)
makeToolRecipe(GTToolType.HOE, TFGTagPrefix.toolHeadHoe, 'tfg:hoe_head_extruder_mold', 5, material)
makeToolRecipe(GTToolType.KNIFE, TFGTagPrefix.toolHeadKnife, 'tfg:knife_head_extruder_mold', 6, material)
makeToolRecipe(GTToolType.FILE, TFGTagPrefix.toolHeadFile, 'tfg:file_head_extruder_mold', 7, material)
makeToolRecipe(GTToolType.SAW, TFGTagPrefix.toolHeadSaw, 'tfg:saw_head_extruder_mold', 8, material)
makeToolRecipe(GTToolType.SPADE, TFGTagPrefix.toolHeadSpade, 'tfg:spade_head_extruder_mold', 9, material)
makeToolRecipe(GTToolType.MINING_HAMMER, TFGTagPrefix.toolHeadMiningHammer, 'tfg:mining_hammer_head_extruder_mold', 10, material)
makeToolRecipe(GTToolType.SCYTHE, TFGTagPrefix.toolHeadScythe, 'tfg:scythe_head_extruder_mold', 11, material)
makeToolRecipe(GTToolType.HARD_HAMMER, TFGTagPrefix.toolHeadHammer, 'tfg:hammer_head_extruder_mold', 12, material)
makeToolRecipe(GTToolType.BUTCHERY_KNIFE, TFGTagPrefix.toolHeadButcheryKnife, 'tfg:butchery_knife_head_extruder_mold', 13, material)
processToolMortar(GTToolType.MORTAR, material)
processToolHead(TFGTagPrefix.toolHeadPropick, 'tfg:propick_head_extruder_mold', 14, material)
processToolHead(TFGTagPrefix.toolHeadJavelin, 'tfg:javelin_head_extruder_mold', 15, material)
processToolHead(TFGTagPrefix.toolHeadChisel, 'tfg:chisel_head_extruder_mold', 16, material)
processToolHead(TFGTagPrefix.toolHeadMace, 'tfg:mace_head_extruder_mold', 17, material)
}
if (ingotProperty != null) {
processNugget(TagPrefix.nugget, material)
processIngot(TagPrefix.ingot, material)
processPlate(TagPrefix.plate, material)
processPlateDouble(TagPrefix.plateDouble, material)
processBlock(TagPrefix.block, material)
processRod(TagPrefix.rod, material)
processRodLong(TagPrefix.rodLong, material)
}
if (oreProperty != null) {
processPoorRawOre(TFGTagPrefix.poorRawOre, material)
processNormalRawOre(TagPrefix.rawOre, material)
processRichRawOre(TFGTagPrefix.richRawOre, material)
processCrushedDust(TagPrefix.crushed, material)
processImpureDust(TagPrefix.dustImpure, material)
processPureDust(TagPrefix.dustPure, material)
processDust(TagPrefix.dust, material)
}
})
//#endregion
//#region Рецепты декрафта пыли каменных пород
// Gabbro
e.recipes.gtceu.centrifuge(`tfg:gabbro_dust_separation`)
.itemInputs('tfg:gabbro_dust')
.chancedOutput(TagPrefix.dustTiny, GTMaterials.Titanium, 6700, 700)
.chancedOutput(TagPrefix.dustTiny, GTMaterials.Iron, 3700, 700)
.chancedOutput(TagPrefix.dustTiny, GTMaterials.MetalMixture, 1700, 700)
.EUt(GTValues.VA[GTValues.MV]).duration(480)
// Shale
e.recipes.gtceu.centrifuge(`tfg:shale_dust_separation`)
.itemInputs('tfg:shale_dust')
.chancedOutput(TagPrefix.dustTiny, GTMaterials.Sodium, 7500, 500)
.chancedOutput(TagPrefix.dustTiny, GTMaterials.MetalMixture, 1500, 500)
.outputFluids(Fluid.of(GTMaterials.Oxygen.getFluid(), 16))
.EUt(GTValues.VA[GTValues.MV]).duration(480)
// Claystone
e.recipes.gtceu.centrifuge(`tfg:claystone_dust_separation`)
.itemInputs('tfg:claystone_dust')
.chancedOutput(TagPrefix.dustTiny, GTMaterials.Aluminium, 6700, 700)
.chancedOutput(TagPrefix.dustTiny, GTMaterials.Silicon, 6700, 700)
.chancedOutput(TagPrefix.dustTiny, GTMaterials.Hematite, 6700, 700)
.outputFluids(Fluid.of(GTMaterials.Oxygen.getFluid(), 5))
.EUt(GTValues.VA[GTValues.MV]).duration(480)
// Limestone
e.recipes.gtceu.centrifuge(`tfg:limestone_dust_separation`)
.itemInputs('tfg:limestone_dust')
.chancedOutput(TagPrefix.dustTiny, GTMaterials.Calcium, 8700, 700)
.chancedOutput(TagPrefix.dustTiny, GTMaterials.MetalMixture, 1700, 700)
.outputFluids(Fluid.of(GTMaterials.Oxygen.getFluid(), 36))
.EUt(GTValues.VA[GTValues.MV]).duration(480)
// Conglomerate
e.recipes.gtceu.centrifuge(`tfg:conglomerate_dust_separation`)
.itemInputs('tfg:conglomerate_dust')
.chancedOutput(TagPrefix.dustTiny, GTMaterials.Hematite, 6700, 700)
.chancedOutput(TagPrefix.dustTiny, GTMaterials.Silicon, 4700, 700)
.chancedOutput(TagPrefix.dustTiny, GTMaterials.TricalciumPhosphate, 3700, 700)
.outputFluids(Fluid.of(GTMaterials.Oxygen.getFluid(), 5))
.EUt(GTValues.VA[GTValues.MV]).duration(480)
// Dolomite
e.recipes.gtceu.centrifuge(`tfg:dolomite_dust_separation`)
.itemInputs('tfg:dolomite_dust')
.chancedOutput(TagPrefix.dustTiny, GTMaterials.Magnesium, 6700, 700)
.chancedOutput(TagPrefix.dustTiny, GTMaterials.Calcium, 5700, 700)
.chancedOutput(TagPrefix.dustTiny, GTMaterials.MetalMixture, 3700, 700)
.outputFluids(Fluid.of(GTMaterials.Oxygen.getFluid(), 16))
.EUt(GTValues.VA[GTValues.MV]).duration(480)
// Chert
e.recipes.gtceu.centrifuge(`tfg:chert_dust_separation`)
.itemInputs('tfg:chert_dust')
.chancedOutput(TagPrefix.dustTiny, GTMaterials.Silicon, 6700, 700)
.chancedOutput(TagPrefix.dustTiny, GTMaterials.MetalMixture, 5700, 700)
.outputFluids(Fluid.of(GTMaterials.Oxygen.getFluid(), 24))
.EUt(GTValues.VA[GTValues.MV]).duration(480)
// Chalk
e.recipes.gtceu.centrifuge(`tfg:chalk_dust_separation`)
.itemInputs('tfg:chalk_dust')
.chancedOutput(TagPrefix.dustTiny, GTMaterials.Calcium, 6700, 700)
.chancedOutput(TagPrefix.dustTiny, GTMaterials.Carbon, 3700, 700)
.chancedOutput(TagPrefix.dustTiny, GTMaterials.MetalMixture, 1700, 700)
.outputFluids(Fluid.of(GTMaterials.Oxygen.getFluid(), 12))
.EUt(GTValues.VA[GTValues.MV]).duration(480)
// Rhyolite
e.recipes.gtceu.centrifuge(`tfg:rhyolite_dust_separation`)
.itemInputs('tfg:rhyolite_dust')
.chancedOutput(TagPrefix.dustTiny, GTMaterials.SiliconDioxide, 8700, 700)
.chancedOutput(TagPrefix.dustTiny, GTMaterials.MetalMixture, 800, 700)
.EUt(GTValues.VA[GTValues.MV]).duration(480)
// Dacite
e.recipes.gtceu.centrifuge(`tfg:dacite_dust_separation`)
.itemInputs('tfg:dacite_dust')
.chancedOutput(TagPrefix.dustTiny, GTMaterials.Sodium, 6700, 700)
.chancedOutput(TagPrefix.dustTiny, GTMaterials.Calcium, 5700, 700)
.chancedOutput(TagPrefix.dustTiny, GTMaterials.SiliconDioxide, 4700, 700)
.chancedOutput(TagPrefix.dustTiny, GTMaterials.Aluminium, 3700, 700)
.chancedOutput(TagPrefix.dustTiny, GTMaterials.MetalMixture, 150, 700)
.outputFluids(Fluid.of(GTMaterials.Oxygen.getFluid(), 12))
.EUt(GTValues.VA[GTValues.MV]).duration(480)
// Slate
e.recipes.gtceu.centrifuge(`tfg:slate_dust_separation`)
.itemInputs('tfg:slate_dust')
.chancedOutput(TagPrefix.dustTiny, GTMaterials.MetalMixture, 780, 480)
.outputFluids(Fluid.of(GTMaterials.Oxygen.getFluid(), 6))
.EUt(GTValues.VA[GTValues.MV]).duration(480)
// Phyllite
e.recipes.gtceu.centrifuge(`tfg:phyllite_dust_separation`)
.itemInputs('tfg:phyllite_dust')
.chancedOutput(TagPrefix.dustTiny, GTMaterials.Quartzite, 5700, 700)
.chancedOutput(TagPrefix.dustTiny, GTMaterials.CalciumChloride, 1700, 700)
.outputFluids(Fluid.of(GTMaterials.Oxygen.getFluid(), 2))
.EUt(GTValues.VA[GTValues.MV]).duration(480)
// Schist
e.recipes.gtceu.centrifuge(`tfg:schist_dust_separation`)
.itemInputs('tfg:schist_dust')
.chancedOutput(TagPrefix.dustTiny, GTMaterials.Mica, 6700, 700)
.chancedOutput(TagPrefix.dustTiny, GTMaterials.Talc, 5700, 700)
.chancedOutput(TagPrefix.dustTiny, GTMaterials.Graphite, 4700, 700)
.chancedOutput(TagPrefix.dustTiny, GTMaterials.MetalMixture, 780, 700)
.outputFluids(Fluid.of(GTMaterials.Oxygen.getFluid(), 12))
.EUt(GTValues.VA[GTValues.MV]).duration(480)
// Gneiss
e.recipes.gtceu.centrifuge(`tfg:gneiss_dust_separation`)
.itemInputs('tfg:gneiss_dust')
.chancedOutput(TagPrefix.dustTiny, GTMaterials.Quartzite, 6700, 700)
.chancedOutput(TagPrefix.dustTiny, GTMaterials.Biotite, 3700, 700)
.outputFluids(Fluid.of(GTMaterials.Oxygen.getFluid(), 2))
.EUt(GTValues.VA[GTValues.MV]).duration(480)
//#endregion
//#region Рецепты форм для экструдера
// Меч
e.shaped('tfg:sword_head_extruder_mold', [
'ABC',
' ',
' '
], {
A: 'gtceu:empty_mold',
B: '#forge:tools/files',
C: '#forge:tools/hammers'
}).id('tfg:shaped/sword_head_extruder_mold')
// Кирка
e.shaped('tfg:pickaxe_head_extruder_mold', [
'A ',
'BC ',
' '
], {
A: 'gtceu:empty_mold',
B: '#forge:tools/files',
C: '#forge:tools/hammers'
}).id('tfg:shaped/pickaxe_head_extruder_mold')
// Топор
e.shaped('tfg:axe_head_extruder_mold', [
'A ',
' BC',
' '
], {
A: 'gtceu:empty_mold',
B: '#forge:tools/files',
C: '#forge:tools/hammers'
}).id('tfg:shaped/axe_head_extruder_mold')
// Лопата
e.shaped('tfg:shovel_head_extruder_mold', [
'A ',
'B ',
'C '
], {
A: 'gtceu:empty_mold',
B: '#forge:tools/files',
C: '#forge:tools/hammers'
}).id('tfg:shaped/shovel_head_extruder_mold')
// Мотыга
e.shaped('tfg:hoe_head_extruder_mold', [
'A ',
'CB ',
' '
], {
A: 'gtceu:empty_mold',
B: '#forge:tools/files',
C: '#forge:tools/hammers'
}).id('tfg:shaped/hoe_head_extruder_mold')
// Молот
e.shaped('tfg:hammer_head_extruder_mold', [
'AB ',
' C ',
' '
], {
A: 'gtceu:empty_mold',
B: '#forge:tools/files',
C: '#forge:tools/hammers'
}).id('tfg:shaped/hammer_head_extruder_mold')
// Пила
e.shaped('tfg:saw_head_extruder_mold', [
'AC ',
' B ',
' '
], {
A: 'gtceu:empty_mold',
B: '#forge:tools/files',
C: '#forge:tools/hammers'
}).id('tfg:shaped/saw_head_extruder_mold')
// Нож
e.shaped('tfg:knife_head_extruder_mold', [
'A B',
' ',
' C'
], {
A: 'gtceu:empty_mold',
B: '#forge:tools/files',
C: '#forge:tools/hammers'
}).id('tfg:shaped/knife_head_extruder_mold')
// Напильник
e.shaped('tfg:file_head_extruder_mold', [
'A ',
' ',
'CB '
], {
A: 'gtceu:empty_mold',
B: '#forge:tools/files',
C: '#forge:tools/hammers'
}).id('tfg:shaped/file_head_extruder_mold')
// Коса
e.shaped('tfg:scythe_head_extruder_mold', [
'A ',
' ',
'BC '
], {
A: 'gtceu:empty_mold',
B: '#forge:tools/files',
C: '#forge:tools/hammers'
}).id('tfg:shaped/scythe_head_extruder_mold')
// Нож мясника
e.shaped('tfg:butchery_knife_head_extruder_mold', [
'A C',
' ',
' B'
], {
A: 'gtceu:empty_mold',
B: '#forge:tools/files',
C: '#forge:tools/hammers'
}).id('tfg:shaped/butchery_knife_head_extruder_mold')
// Молот шахтера
e.shaped('tfg:mining_hammer_head_extruder_mold', [
'ABC',
' ',
' '
], {
A: 'gtceu:empty_mold',
B: '#forge:tools/files',
C: '#forge:tools/hammers'
}).id('tfg:shaped/mining_hammer_head_extruder_mold')
// Большая лопата
e.shaped('tfg:spade_head_extruder_mold', [
'A ',
'B ',
' C'
], {
A: 'gtceu:empty_mold',
B: '#forge:tools/files',
C: '#forge:tools/hammers'
}).id('tfg:shaped/spade_head_extruder_mold')
// Проспектор
e.shaped('tfg:propick_head_extruder_mold', [
'ACB',
' ',
' '
], {
A: 'gtceu:empty_mold',
B: '#forge:tools/files',
C: '#forge:tools/wire_cutters'
}).id('tfg:shaped/propick_head_extruder_mold')
// Копье
e.shaped('tfg:javelin_head_extruder_mold', [
'A C',
'B ',
' '
], {
A: 'gtceu:empty_mold',
B: '#forge:tools/files',
C: '#forge:tools/wire_cutters'
}).id('tfg:shaped/javelin_head_extruder_mold')
// Стамеска
e.shaped('tfg:chisel_head_extruder_mold', [
'A ',
'CB ',
' '
], {
A: 'gtceu:empty_mold',
B: '#forge:tools/files',
C: '#forge:tools/wire_cutters'
}).id('tfg:shaped/chisel_head_extruder_mold')
// Бита
e.shaped('tfg:mace_head_extruder_mold', [
'A ',
' BC',
' '
], {
A: 'gtceu:empty_mold',
B: '#forge:tools/files',
C: '#forge:tools/wire_cutters'
}).id('tfg:shaped/mace_head_extruder_mold')
global.TFG_EXTRUDER_MOLDS.forEach(mold => {
e.recipes.gtceu.forming_press(`tfg:copy_mold_${mold.split(':')[1]}`)
.itemInputs('gtceu:empty_mold')
.notConsumable(mold)
.itemOutputs(mold)
.EUt(22).duration(120)
})
//#endregion
//#region Рецепты форм для формовки
// Лампа
e.shaped('tfg:lamp_casting_mold', [
'AB ',
' ',
' '
], {
A: 'gtceu:empty_mold',
B: '#forge:tools/hammers',
}).id('tfg:shaped/lamp_casting_mold')
// Люк
e.shaped('tfg:trapdoor_casting_mold', [
'A ',
' ',
' B'
], {
A: 'gtceu:empty_mold',
B: '#forge:tools/hammers',
}).id('tfg:shaped/trapdoor_casting_mold')
// Цепь
e.shaped('tfg:chain_casting_mold', [
'A ',
'B ',
' '
], {
A: 'gtceu:empty_mold',
B: '#forge:tools/hammers',
}).id('tfg:shaped/chain_casting_mold')
// Колокол
e.shaped('tfg:bell_casting_mold', [
'A ',
' B ',
' '
], {
A: 'gtceu:empty_mold',
B: '#forge:tools/hammers',
}).id('tfg:shaped/bell_casting_mold')
global.TFG_CASTING_MOLDS.forEach(mold => {
e.recipes.gtceu.forming_press(`tfg:copy_mold_${mold.split(':')[1]}_casting_mold`)
.itemInputs('gtceu:empty_mold')
.notConsumable(mold)
.itemOutputs(mold)
.EUt(22).duration(120)
})
//#endregion
//#region Рецепты электрического генератора
//#region Контроллер
//todo: облегчить
e.shaped('gtceu:alternator', [
'ABA',
'CDC',
'EBE'
], {
A: '#gtceu:resistors',
B: '#gtceu:circuits/lv',
C: 'gtceu:lv_voltage_coil',
D: 'gtceu:solid_machine_casing',
E: 'gtceu:copper_single_cable'
}).id('tfg:shaped/alternator')
//#endregion
e.recipes.gtceu.alternator('32_rpm_to_32_eu')
.inputStress(256)
.circuit(0)
.rpm(32)
.duration(2)
.EUt(-8)
e.recipes.gtceu.alternator('64_rpm_to_48_eu')
.inputStress(256)
.circuit(1)
.rpm(64)
.duration(2)
.EUt(-16)
e.recipes.gtceu.alternator('128_rpm_to_64_eu')
.inputStress(256)
.circuit(2)
.rpm(128)
.duration(2)
.EUt(-24)
e.recipes.gtceu.alternator('256_rpm_to_96_eu')
.inputStress(256)
.circuit(3)
.rpm(256)
.duration(2)
.EUt(-32)
//#endregion
//#region Рецепты теплицы
//#region Контроллер
e.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')
//#endregion
// Дерево
global.TFC_WOOD_TYPES.forEach(wood => {
generateGreenHouseRecipe(e, `tfc:wood/sapling/${wood}`, 16000, `32x tfc:wood/log/${wood}`, `tfg:greenhouse/${wood}`)
})
// Семена фруктов
global.TFC_GREENHOUSE_FRUIT_RECIPE_COMPONENTS.forEach(element => {
generateGreenHouseRecipe(e, element.input, element.fluid_amount, element.output, element.name)
})
// Семена овощей
global.TFC_GREENHOUSE_VEGETABLE_RECIPE_COMPONENTS.forEach(element => {
generateGreenHouseRecipe(e, element.input, element.fluid_amount, element.output, element.name)
})
// Семена ягод
global.TFC_GREENHOUSE_BERRY_RECIPE_COMPONENTS.forEach(element => {
generateGreenHouseRecipe(e, element.input, element.fluid_amount, element.output, element.name)
})
//#endregion
//#region Отключение смешивания пылей на верстаке
e.remove({id: 'gtceu:shapeless/dust_brass'})
e.remove({id: 'gtceu:shapeless/glass_dust_flint'})
e.remove({id: 'gtceu:shapeless/dust_bronze'})
e.remove({id: 'gtceu:shapeless/potin_dust'})
//#endregion
//#region Понижение EUt для рецепта пыли серебра стерлинга
e.remove({ id: 'gtceu:mixer/sterling_silver' })
e.recipes.gtceu.mixer('tfg:sterling_silver')
.itemInputs('#forge:dusts/copper', '4x #forge:dusts/silver')
.circuit(1)
.itemOutputs('5x gtceu:sterling_silver_dust')
.EUt(24).duration(500)
//#endregion
//#region Понижение EUt для рецепта пыли розового золота
e.remove({ id: 'gtceu:mixer/rose_gold' })
e.recipes.gtceu.mixer('tfg:rose_gold')
.itemInputs('#forge:dusts/copper', '4x #forge:dusts/gold')
.circuit(3)
.itemOutputs('5x gtceu:rose_gold_dust')
.EUt(16).duration(500)
//#endregion
//#region Дерево
global.GTCEU_WOOD_TYPES.forEach(woodType => {
// Wood
e.remove({ id: `gtceu:shaped/${woodType}_wood` })
// Stripped Wood
e.remove({ id: `gtceu:shaped/stripped_${woodType}_wood` })
// Доски
e.remove({ id : `gtceu:shapeless/${woodType}_wood_planks` })
e.remove({ id : `gtceu:shapeless/${woodType}_planks` })
e.remove({ id : `gtceu:shaped/${woodType}_planks_saw` })
e.remove({ id : `gtceu:cutter/${woodType}_planks` })
e.remove({ id : `gtceu:cutter/${woodType}_planks_water` })
e.remove({ id : `gtceu:cutter/${woodType}_planks_distilled_water` })
// Ступень
e.remove({ id : `gtceu:shaped/${woodType}_stairs` })
e.remove({ id : `everycomp:c/gtceu/${woodType}_stairs_from_${woodType}_planks_stonecutting` })
e.remove({ id : `gtceu:assembler/${woodType}_stairs` })
// Полублок
e.remove({ id: `gtceu:shaped/${woodType}_slab_saw` })
e.remove({ id: `everycomp:c/gtceu/${woodType}_slab_from_${woodType}_planks_stonecutting` })
e.remove({ id: `gtceu:cutter/${woodType}_slab_water` })
e.remove({ id: `gtceu:cutter/${woodType}_slab_distilled_water` })
e.remove({ id: `gtceu:cutter/${woodType}_slab` })
// Забор
e.remove({ id: `gtceu:shaped/${woodType}_fence` })
e.remove({ id: `gtceu:assembler/${woodType}_fence` })
// Нажимная плита
e.remove({ id: `gtceu:shaped/${woodType}_pressure_plate` })
e.remove({ id: `gtceu:assembler/${woodType}_pressure_plate` })
// Люк
e.remove({ id: `gtceu:shaped/${woodType}_trapdoor_iron` })
e.remove({ id: `gtceu:shaped/${woodType}_trapdoor_steel` })
e.remove({ id: `gtceu:assembler/${woodType}_trapdoor_steel` })
e.remove({ id: `gtceu:assembler/${woodType}_trapdoor_iron` })
// Кнопка
e.remove({ id: `gtceu:shaped/${woodType}_button` })
e.remove({ id: `gtceu:cutter/${woodType}_button_distilled_water` })
e.remove({ id: `gtceu:cutter/${woodType}_button_water` })
e.remove({ id: `gtceu:cutter/${woodType}_button` })
// Дверь
e.remove({ id: `gtceu:shaped/${woodType}_door` })
e.remove({ id: `gtceu:assembler/${woodType}_door` })
// Калитка
e.remove({ id: `gtceu:shaped/${woodType}_fence_gate` })
e.remove({ id: `gtceu:shaped/${woodType}_fence_gate_screws` })
e.remove({ id: `gtceu:assembler/${woodType}_fence_gate` })
// Табличка
e.remove({ id: `gtceu:shaped/${woodType}_sign_iron` })
e.remove({ id: `gtceu:shaped/${woodType}_sign_steel` })
e.remove({ id: `gtceu:assembler/${woodType}_sign_steel` })
e.remove({ id: `gtceu:assembler/${woodType}_sign_iron` })
// Висящая табличка
e.remove({ id: `gtceu:shaped/${woodType}_hanging_sign` })
e.remove({ id: `gtceu:shaped/${woodType}_hanging_sign_steel` })
e.remove({ id: `gtceu:assembler/${woodType}_hanging_sign` })
// Лодка
e.remove({ id: `gtceu:shaped/${woodType}_boat` })
e.remove({ id: `gtceu:assembler/${woodType}_boat` })
// Лодка с сундуком
e.remove({ id: `gtceu:shaped/${woodType}_chest_boat` })
e.remove({ id: `gtceu:assembler/${woodType}_chest_boat` })
})
// Креозот доски -> 2 палки
e.remove({ id: 'gtceu:shaped/treated_wood_stick' })
//#region Creosote-Treated Wood Planks -> Treated Wood Pulp
e.recipes.gtceu.macerator('tfg:treated_wood_dust')
.itemInputs('gtceu:treated_wood_planks')
.itemOutputs('gtceu:treated_wood_dust')
.EUt(4).duration(120)
//#endregion
//#endregion
//#region Рецепты MaterialInfo
//#region Дерево
global.MINECRAFT_ALL_WOOD_TYPES.forEach(woodName => {
e.remove({ id: `gtceu:macerator/macerate_${woodName}_planks` })
e.remove({ id: `gtceu:macerator/macerate_${woodName}_stairs` })
e.remove({ id: `gtceu:macerator/macerate_${woodName}_slab` })
e.remove({ id: `gtceu:macerator/macerate_${woodName}_fence` })
e.remove({ id: `gtceu:macerator/macerate_${woodName}_fence_gate` })
e.remove({ id: `gtceu:arc_furnace/arc_${woodName}_door` })
e.remove({ id: `gtceu:macerator/macerate_${woodName}_door` })
e.remove({ id: `gtceu:macerator/macerate_${woodName}_button` })
e.remove({ id: `gtceu:macerator/macerate_${woodName}_boat` })
})
e.remove({ id: `gtceu:macerator/macerate_bamboo_raft` })
//#endregion
//#region Камень
//#region Блок
// e.remove({ id: 'gtceu:alloy_smelter/alloy_smelt_stone_ingot_to_block' })
// e.remove({ id: 'gtceu:extruder/extrude_stone_ingot_to_block' })
//#endregion
//#region Слитки
// e.remove({ id: 'gtceu:alloy_smelter/alloy_smelt_stone_to_ingot' })
// e.remove({ id: 'gtceu:arc_furnace/arc_stone_block' })
// e.remove({ id: 'gtceu:macerator/macerate_stone_block' })
// e.remove({ id: 'gtceu:cutter/cut_stone_block_to_plate_water' })
// e.remove({ id: 'gtceu:cutter/cut_stone_block_to_plate_distilled_water' })
// e.remove({ id: 'gtceu:cutter/cut_stone_block_to_plate' })
//#endregion
//#region Стержни
e.remove({ id: 'gtceu:lathe/stone_rod_from_stone' })
e.remove({ id: 'gtceu:lathe/stone_rod_from_cobblestone' })
// Из сырого камня
e.recipes.gtceu.lathe('tfg:stone_rod_from_stone')
.itemInputs('#tfc:rock/raw')
.itemOutputs('gtceu:stone_rod', '2x gtceu:small_stone_dust')
.EUt(7).duration(20)
// Из булыжника
e.recipes.gtceu.lathe('tfg:stone_rod_from_cobblestone')
.itemInputs('#forge:cobblestone')
.itemOutputs('gtceu:stone_rod', '2x gtceu:small_stone_dust')
.EUt(7).duration(20)
//#endregion
//#region Пыль
e.remove({ id: 'gtceu:macerator/macerate_stone_pressure_plate' })
e.remove({ id: 'gtceu:macerator/gravel_to_flint' })
e.remove({ id: 'gtceu:macerator/macerate_furnace_minecart' })
e.remove({ id: 'gtceu:macerator/macerate_stone_axe' })
e.remove({ id: 'gtceu:macerator/macerate_stone_sword' })
e.remove({ id: 'gtceu:macerator/macerate_furnace' })
e.remove({ id: 'gtceu:macerator/macerate_stone_bricks' })
e.remove({ id: 'gtceu:macerator/macerate_cobblestone' })
e.remove({ id: 'gtceu:macerator/macerate_stone_pickaxe' })
e.remove({ id: 'gtceu:macerator/macerate_mossy_cobblestone' })
e.remove({ id: 'gtceu:macerator/macerate_stone_block' })
e.remove({ id: 'gtceu:macerator/macerate_stone_hoe' })
e.remove({ id: 'gtceu:macerator/macerate_cobblestone_wall' })
e.remove({ id: 'gtceu:macerator/macerate_stone_shovel' })
//#endregion
//#region Средняя пыль
e.remove({ id: 'gtceu:macerator/macerate_stone_stairs' })
e.remove({ id: 'gtceu:macerator/macerate_stone_slab' })
e.remove({ id: 'gtceu:macerator/macerate_cobblestone_slab' })
e.remove({ id: 'gtceu:macerator/macerate_sandstone_stairs' })
e.remove({ id: 'gtceu:macerator/macerate_red_sandstone_slab' })
e.remove({ id: 'gtceu:macerator/macerate_red_sandstone_stairs' })
e.remove({ id: 'gtceu:macerator/macerate_stone_brick_stairs' })
e.remove({ id: 'gtceu:macerator/macerate_stone_brick_slab' })
e.remove({ id: 'gtceu:macerator/macerate_sandstone_slab' })
// //#endregion
//#region Маленькая пыль
e.remove({ id: 'gtceu:macerator/macerate_stone_button' })
//#endregion
//#endregion
//#region Гранит
//#region Пыль
e.remove({ id: 'gtceu:macerator/macerate_granite' })
//#endregion
//#endregion
//#region Диорит
//#region Пыль
e.remove({ id: 'gtceu:macerator/macerate_diorite' })
//#endregion
//#endregion
//#region Андезит
//#region Пыль
e.remove({ id: 'gtceu:macerator/macerate_andesite' })
//#endregion
//#endregion
//#region Глубокий-Сланец
//#region Пыль
e.remove({ id: 'gtceu:macerator/macerate_deepslate' })
//#endregion
//#endregion
//#region Эндерняк
//#region Пыль
e.remove({ id: 'gtceu:macerator/macerate_end_stone' })
//#endregion
//#endregion
//#endregion
//#region Железо
//#region Самородок
//#region Из каменной нажимной плиты
e.remove({ id: 'gtceu:arc_furnace/arc_stone_pressure_plate' })
//#endregion
//#region Из решеток
e.remove({ id: 'gtceu:arc_furnace/arc_iron_bars' })
//#endregion
//#region Из железной двери
e.remove({ id: 'gtceu:arc_furnace/arc_iron_door' })
e.recipes.gtceu.arc_furnace('tfg:arc_iron_door')
.itemInputs('minecraft:iron_door')
.itemOutputs('8x minecraft:iron_nugget')
.EUt(30).duration(140)
//#endregion
//#region Из контроллера примитивной доменной печи
e.remove({ id: 'gtceu:arc_furnace/arc_primitive_blast_furnace' })
//#endregion
//#endregion
//#region Пыль
//#region Из люка
e.remove({ id: 'gtceu:macerator/macerate_iron_trapdoor' })
//#endregion
//#region Из наковальни
e.remove({ id: 'gtceu:macerator/macerate_anvil' })
//#endregion
//#region Из поломанной наковальни
e.remove({ id: 'gtceu:macerator/macerate_chipped_anvil' })
//#endregion
//#region Из разрушенной наковальни
e.remove({ id: 'gtceu:macerator/macerate_damaged_anvil' })
//#endregion
//#endregion
//#region Маленькая пыль
//#region Из решеток
e.remove({ id: 'gtceu:macerator/macerate_iron_bars' })
//#endregion
//#endregion
//#region Крошечная пыль
//#region Из железной двери
e.remove({ id: 'gtceu:macerator/macerate_iron_door' })
e.recipes.gtceu.macerator('tfg:iron_door')
.itemInputs('minecraft:iron_door')
.itemOutputs('8x gtceu:tiny_iron_dust')
.EUt(8).duration(120)
//#endregion
//#region Из контроллера примитивной доменной печи
e.remove({ id: 'gtceu:macerator/macerate_primitive_blast_furnace' })
//#endregion
//#endregion
//#endregion
//#region Сталь
//#region Слиток
//#region Из LV Machine Casing
e.remove({ id: 'gtceu:arc_furnace/arc_lv_machine_casing' })
e.recipes.gtceu.arc_furnace('tfg:arc_lv_machine_casing')
.itemInputs('gtceu:lv_machine_casing')
.itemOutputs('4x gtceu:red_steel_ingot')
.itemOutputs('4x gtceu:blue_steel_ingot')
.EUt(30).duration(140)
//#endregion
//#region Из LV Machine Hull
e.remove({ id: 'gtceu:arc_furnace/arc_lv_machine_hull' })
e.recipes.gtceu.arc_furnace('tfg:arc_lv_machine_hull')
.itemInputs('gtceu:lv_machine_hull')
.itemOutputs('4x gtceu:red_steel_ingot')
.itemOutputs('4x gtceu:blue_steel_ingot')
.itemOutputs('gtceu:tin_ingot')
.itemOutputs('gtceu:small_ash_dust')
.EUt(30).duration(140)
//#endregion
//#endregion
//#region Пыль
//#region Из LV Machine Casing
e.remove({ id: 'gtceu:macerator/macerate_lv_machine_casing' })
e.recipes.gtceu.macerator('tfg:macerate_lv_machine_casing')
.itemInputs('gtceu:lv_machine_casing')
.itemOutputs('4x gtceu:red_steel_dust')
.itemOutputs('4x gtceu:blue_steel_dust')
.EUt(30).duration(140)
//#endregion
//#region Из LV Machine Hull
e.remove({ id: 'gtceu:macerator/macerate_lv_machine_hull' })
e.recipes.gtceu.macerator('tfg:macerate_lv_machine_hull')
.itemInputs('gtceu:lv_machine_hull')
.itemOutputs('4x gtceu:red_steel_dust')
.itemOutputs('4x gtceu:blue_steel_dust')
.itemOutputs('2x gtceu:rubber_dust')
.itemOutputs('gtceu:tin_dust')
.EUt(30).duration(140)
//#endregion
//#endregion
//#endregion
//#region Кованное железо
//#region Слиток
//#region Из люка
e.remove({ id: 'gtceu:arc_furnace/arc_iron_trapdoor' })
//#endregion
//#region Из люка
e.remove({ id: 'gtceu:macerator/macerate_iron_trapdoor' })
//#endregion
//#region Из наковальни
e.remove({ id: 'gtceu:arc_furnace/arc_anvil' })
//#endregion
//#region Из поломанной наковальни
e.remove({ id: 'gtceu:arc_furnace/arc_chipped_anvil' })
//#endregion
//#region Из разрушенной наковальни
e.remove({ id: 'gtceu:arc_furnace/arc_damaged_anvil' })
//#endregion
//#endregion
//#endregion
//#region Мясо
//#region Пыль мяса
e.remove({ id: 'gtceu:macerator/macerate_chicken' })
e.remove({ id: 'gtceu:macerator/macerate_steak' })
e.remove({ id: 'gtceu:macerator/macerate_rabbit' })
e.remove({ id: 'gtceu:macerator/macerate_mutton' })
e.remove({ id: 'gtceu:macerator/macerate_pork_chop' })
e.recipes.gtceu.macerator('tfg:macerate_tfg_meat_to_dust')
.itemInputs('#tfc:foods/meats')
.itemOutputs('gtceu:meat_dust', 'gtceu:tiny_bone_dust')
.EUt(2).duration(120)
//#endregion
//#endregion
//#region Пшеница
e.remove({ id: 'gtceu:shapeless/wheat_to_dust' })
e.shapeless('gtceu:wheat_dust', [
'#forge:tools/mortars',
'tfc:food/wheat',
]).id('tfg:shaped/wheat_to_dust')
e.remove({ id: 'gtceu:macerator/macerate_wheat' })
e.recipes.gtceu.macerator('tfg:macerate_wheat')
.itemInputs('tfc:food/wheat')
.itemOutputs('gtceu:wheat_dust')
.EUt(2).duration(150)
//#region Пыль
//#endregion
//#endregion
//#region Огнеупорная Глина
e.remove({ id: 'gtceu:shapeless/fireclay_dust' })
e.remove({ id: 'gtceu:macerator/macerate_compressed_fireclay' })
e.remove({ id: 'gtceu:macerator/macerate_firebricks' })
e.remove({ id: 'gtceu:macerator/macerate_firebrick' })
e.recipes.gtceu.macerator('tfg:macerate_firebrick')
.itemInputs('tfc:ceramic/fire_brick')
.itemOutputs('gtceu:fireclay_dust')
.EUt(2).duration(15)
//#endregion
//#endregion
//#region Рецепты примитивной помпы
e.remove('gtceu:shaped/pump_deck')
e.remove('gtceu:shaped/pump_hatch')
e.remove('gtceu:shaped/primitive_pump')
//#endregion
//#region LV Casing
e.remove({ id: 'gtceu:shaped/casing_lv' })
e.shaped('gtceu:lv_machine_casing', [
'ABA',
'BwB',
'ABA'
], {
A: '#forge:plates/red_steel',
B: '#forge:plates/blue_steel',
w: '#forge:tools/wrenches',
}).id('tfg:shaped/lv_machine_casing')
e.remove({ id: 'gtceu:assembler/casing_lv' })
e.recipes.gtceu.assembler('tfg:casing_lv')
.itemInputs('4x #forge:plates/red_steel')
.itemInputs('4x #forge:plates/blue_steel')
.circuit(8)
.itemOutputs('gtceu:lv_machine_casing')
.EUt(16).duration(30)
//#endregion
//#region LV Hull
e.remove({ id: 'gtceu:shaped/lv_machine_hull' })
e.shaped('gtceu:lv_machine_hull', [
'ABC',
'DED',
], {
A: '#forge:plates/red_steel',
B: '#forge:plates/blue_steel',
C: '#forge:plates/black_steel',
D: 'gtceu:tin_single_cable',
E: 'gtceu:lv_machine_casing',
}).id('tfg:shaped/lv_machine_hull')
//#endregion
//#region Бронзовая печь
e.remove({ id: 'gtceu:shaped/steam_furnace_bronze' })
e.shaped('gtceu:lp_steam_furnace', [
'AAA',
'ABA',
'ACA'
], {
A: 'gtceu:bronze_small_fluid_pipe',
B: 'gtceu:bronze_brick_casing',
C: '#forge:double_sheets/any_bronze',
}).id('tfg:shaped/steam_furnace_bronze')
//#endregion
//#region Бронзовый сплавщик
e.remove({ id: 'gtceu:shaped/steam_alloy_smelter_bronze' })
e.shaped('gtceu:lp_steam_alloy_smelter', [
'AAA',
'ABA',
'ACA'
], {
A: 'gtceu:bronze_small_fluid_pipe',
B: 'gtceu:bronze_brick_casing',
C: '#forge:double_sheets/any_bronze',
}).id('tfg:shaped/steam_alloy_smelter_bronze')
//#endregion
//#region Assembly Line Grating
e.remove({ id: 'gtceu:shaped/casing_grate_casing' })
e.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('tfg:workbench/casing_grate_casing')
//#endregion
//#region Filter Casing
e.remove({ id: 'gtceu:shaped/filter_casing' })
e.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('tfg:workbench/filter_casing')
//#endregion
//#region Gas Collectors
e.remove({ id: 'gtceu:shaped/lv_gas_collector' })
e.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('tfg:workbench/lv_gas_collector')
e.remove({ id: 'gtceu:shaped/mv_gas_collector' })
e.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('tfg:workbench/mv_gas_collector')
e.remove({ id: 'gtceu:shaped/hv_gas_collector' })
e.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('tfg:workbench/hv_gas_collector')
e.remove({ id: 'gtceu:shaped/ev_gas_collector' })
e.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('tfg:workbench/ev_gas_collector')
e.remove({ id: 'gtceu:shaped/iv_gas_collector' })
e.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('tfg:workbench/iv_gas_collector')
e.remove({ id: 'gtceu:shaped/luv_gas_collector' })
e.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('tfg:workbench/luv_gas_collector')
e.remove({ id: 'gtceu:shaped/zpm_gas_collector' })
e.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('tfg:workbench/zpm_gas_collector')
e.remove({ id: 'gtceu:shaped/uv_gas_collector' })
e.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('tfg:workbench/uv_gas_collector')
e.remove({ id: 'gtceu:shaped/uhv_gas_collector' })
e.remove({ id: 'gtceu:shaped/uev_gas_collector' })
e.remove({ id: 'gtceu:shaped/uiv_gas_collector' })
e.remove({ id: 'gtceu:shaped/uxv_gas_collector' })
e.remove({ id: 'gtceu:shaped/opv_gas_collector' })
//#endregion
//#region Forge Hammers
e.remove({ id: 'gtceu:shaped/steam_hammer_bronze' })
e.shaped('gtceu:lp_steam_forge_hammer', [
'ABA',
'ACA',
'ADA'
], {
A: 'gtceu:bronze_small_fluid_pipe',
B: '#forge:pistons',
C: 'gtceu:bronze_machine_casing',
D: '#tfg:tier_2_anvil',
}).id('tfg:shaped/steam_hammer_bronze')
e.remove({ id: 'gtceu:shaped/lv_forge_hammer' })
e.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('tfg:shaped/lv_forge_hammer')
e.remove({ id: 'gtceu:shaped/mv_forge_hammer' })
e.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('tfg:shaped/mv_forge_hammer')
e.remove({ id: 'gtceu:shaped/hv_forge_hammer' })
e.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('tfg:shaped/hv_forge_hammer')
e.remove({ id: 'gtceu:shaped/ev_forge_hammer' })
e.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('tfg:shaped/ev_forge_hammer')
e.remove({ id: 'gtceu:shaped/iv_forge_hammer' })
e.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('tfg:shaped/iv_forge_hammer')
e.remove({ id: 'gtceu:shaped/luv_forge_hammer' })
e.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('tfg:shaped/luv_forge_hammer')
e.remove({ id: 'gtceu:shaped/zpm_forge_hammer' })
e.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: '#tfg:tier_6_anvil',
}).id('tfg:shaped/zpm_forge_hammer')
e.remove({ id: 'gtceu:shaped/uv_forge_hammer' })
e.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: '#tfg:tier_6_anvil',
}).id('tfg:shaped/uv_forge_hammer')
e.remove({ id: 'gtceu:shaped/uhv_forge_hammer' })
e.remove({ id: 'gtceu:shaped/uev_forge_hammer' })
e.remove({ id: 'gtceu:shaped/uiv_forge_hammer' })
e.remove({ id: 'gtceu:shaped/uxv_forge_hammerr' })
e.remove({ id: 'gtceu:shaped/opv_forge_hammer' })
//#endregion
//#region Удобрение
e.remove({ id: 'gtceu:mixer/fertilizer' })
e.remove({ id: 'gtceu:create_mixer/fertilizer' })
e.recipes.gtceu.mixer('tfg:fertilizer')
.itemInputs(
'#tfc:dirt',
'2x #forge:dusts/wood',
'4x #forge:sand'
)
.circuit(1)
.inputFluids(Fluid.of('minecraft:water', 1000))
.itemOutputs('4x gtceu:fertilizer')
.EUt(30).duration(300)
//#endregion
//#region TODO: ДЕКРАФТ ЭНД КАМНЯ В ГОВНО
// TODO: Из пыли лунного грунта
e.remove({ id: 'gtceu:centrifuge/endstone_separation' })
/*
e.recipes.gtceu.centrifuge('endstone_separation')
.itemInputs('')
.chancedOutput('tfc:sand/yellow', 9000, 300)
.chancedOutput('gtceu:tungstate_small_dust', 1250, 450)
.chancedOutput('gtceu:tiny_platinum_dust', 630, 150)
.outputFluids(Fluid.of('gtceu:helium', 2000))
.duration(250)
.EUt(30)*/
//#endregion
//#region TODO: Времененный рецепт Nether Air -> End Air
e.recipes.gtceu.electrolyzer('tfg:gtceu/liquid_nether_air_to_liquid_ender_air')
.itemInputs('#forge:dusts/netherrack')
.inputFluids(Fluid.of('gtceu:liquid_nether_air', 1000))
.outputFluids(Fluid.of('gtceu:liquid_ender_air', 250))
.EUt(512).duration(1250)
//#endregion
//#region Кварцевый песок
e.remove({ id: 'gtceu:shaped/quartz_sand' })
e.shaped('gtceu:quartz_sand_dust', [
'A',
'B'
], {
A: '#forge:sand',
B: '#forge:tools/mortars'
}).id('tfg:shaped/quartz_sand')
e.remove({ id: 'gtceu:macerator/quartz_sand_from_sand' })
e.recipes.gtceu.macerator('tfg:quartz_sand_from_sand')
.itemInputs('#forge:sand')
.itemOutputs('gtceu:quartz_sand_dust')
.EUt(2).duration(30)
//#endregion
//#region Диоксид силикона
e.remove({ id: 'gtceu:electrolyzer/sand_electrolysis' })
e.recipes.gtceu.electrolyzer('tfg:sand_electrolysis')
.itemInputs('8x #forge:sand')
.itemOutputs('gtceu:silicon_dioxide_dust')
.EUt(25).duration(500)
//#endregion
//#region Соленая пыль + Вода
// Декрафт в центрифуге
e.recipes.gtceu.centrifuge('tfg:centrifuging_tfc_salt_water')
.inputFluids(Fluid.of('tfc:salt_water', 1000))
.itemOutputs('1x gtceu:salt_dust')
.outputFluids(Fluid.of('minecraft:water', 1000))
.duration(51)
.EUt(30)
// Декрафт в электролайзере
e.recipes.gtceu.electrolyzer('tfg:electrolyze_tfc_salt_water')
.inputFluids(Fluid.of('tfc:salt_water', 1000))
.itemOutputs('1x gtceu:sodium_hydroxide_dust', '2x gtceu:small_sodium_hydroxide_dust')
.outputFluids(Fluid.of('gtceu:chlorine', 500), Fluid.of('gtceu:hydrogen', 500))
.duration(720)
.EUt(30)
//#endregion
//#region Сырая резиновая пыль
// Из бревна капока
e.remove({ id: 'gtceu:extractor/raw_rubber_from_log' })
e.recipes.gtceu.extractor('tfg:raw_rubber_from_log')
.itemInputs('#tfc:kapok_logs')
.itemOutputs('gtceu:raw_rubber_dust')
.EUt(2).duration(300)
// Из саженца капока
e.remove({ id: 'gtceu:extractor/raw_rubber_from_sapling' })
e.recipes.gtceu.extractor('tfg:raw_rubber_from_sapling')
.itemInputs('tfc:wood/sapling/kapok')
.itemOutputs('gtceu:raw_rubber_dust')
.EUt(2).duration(300)
// Из листвы капока
e.remove({ id: 'gtceu:extractor/raw_rubber_from_leaves' })
e.recipes.gtceu.extractor('tfg:raw_rubber_from_leaves')
.itemInputs('16x tfc:wood/leaves/kapok')
.itemOutputs('gtceu:raw_rubber_dust')
.EUt(2).duration(300)
//#endregion
//#region Пропитанные доски
e.remove({ id: 'gtceu:shaped/treated_wood_planks' })
e.recipes.tfc.barrel_sealed(4000)
.outputItem('gtceu:treated_wood_planks')
.inputs('#minecraft:planks', TFC.fluidStackIngredient('#forge:creosote', 100))
.id('tfg:barrel/treated_wood_planks')
//#endregion
//#region Капля резины
// Из латекса
e.recipes.tfc.pot('tfc:powder/sulfur', Fluid.of('tfg:latex', 1000), 5000, 300)
.itemOutput('gtceu:sticky_resin')
.id('tfg:pot/sticky_resin')
// Из бревна капока
e.remove({ id: 'gtceu:centrifuge/rubber_log_separation' })
e.recipes.gtceu.centrifuge('tfg:rubber_log_separation')
.itemInputs('#tfc:kapok_logs')
.chancedOutput('gtceu:sticky_resin', 5000, 1200)
.chancedOutput('gtceu:plant_ball', 3750, 900)
.chancedOutput('gtceu:carbon_dust', 2500, 600)
.chancedOutput('gtceu:wood_dust', 2500, 700)
.outputFluids(Fluid.of('gtceu:methane', 60))
.EUt(20).duration(200)
//#endregion
//#region Растительный шарик
//#region В компрессоре
e.remove({ id: 'gtceu:compressor/plant_ball_from_wheat' })
e.remove({ id: 'gtceu:compressor/plant_ball_from_beetroot' })
e.remove({ id: 'gtceu:compressor/plant_ball_from_red_mushroom' })
e.remove({ id: 'gtceu:compressor/plant_ball_from_nether_wart' })
e.remove({ id: 'gtceu:compressor/plant_ball_from_bubble_coral' })
e.remove({ id: 'gtceu:compressor/plant_ball_from_potato' })
e.remove({ id: 'gtceu:compressor/plant_ball_from_brain_coral' })
e.remove({ id: 'gtceu:compressor/plant_ball_from_warped_stem' })
e.remove({ id: 'gtceu:compressor/plant_ball_from_brown_mushroom' })
e.remove({ id: 'gtceu:compressor/plant_ball_from_horn_coral' })
e.remove({ id: 'gtceu:compressor/plant_ball_from_cactus' })
e.remove({ id: 'gtceu:compressor/plant_ball_from_crimson_stem' })
e.remove({ id: 'gtceu:compressor/plant_ball_from_sugar_cane' })
e.remove({ id: 'gtceu:compressor/plant_ball_from_moss' })
e.remove({ id: 'gtceu:compressor/plant_ball_from_carrot' })
e.remove({ id: 'gtceu:compressor/plant_ball_from_fire_coral' })
e.remove({ id: 'gtceu:compressor/plant_ball_from_tube_coral' })
e.recipes.gtceu.compressor('tfg:plant_ball_from_tfc_seeds')
.itemInputs('8x #tfc:seeds')
.itemOutputs('gtceu:plant_ball')
.EUt(2).duration(300)
e.recipes.gtceu.compressor('tfg:plant_ball_from_tfc_food')
.itemInputs('8x #tfc:foods')
.itemOutputs('gtceu:plant_ball')
.EUt(2).duration(300)
e.recipes.gtceu.compressor('tfg:plant_ball_from_tfc_plants')
.itemInputs('8x #tfc:plants')
.itemOutputs('gtceu:plant_ball')
.EUt(2).duration(300)
e.recipes.gtceu.compressor('tfg:plant_ball_from_tfc_corals')
.itemInputs('8x #tfc:corals')
.itemOutputs('gtceu:plant_ball')
.EUt(2).duration(300)
//#endregion
//#region В центрифуге
// Из земли
e.recipes.gtceu.centrifuge('tfg:dirt_separation')
.itemInputs('#tfc:dirt')
.chancedOutput('gtceu:plant_ball', 1250, 700)
.chancedOutput('tfc:sand/yellow', 5000, 500)
.chancedOutput('gtceu:clay_dust', 450, 100)
.EUt(302).duration(150)
// Из земли с травой
e.recipes.gtceu.centrifuge('tfg:grass_block_separation')
.itemInputs('#tfc:grass')
.chancedOutput('gtceu:plant_ball', 3000, 700)
.chancedOutput('tfc:sand/yellow', 5000, 500)
.chancedOutput('gtceu:clay_dust', 450, 100)
.EUt(302).duration(150)
//#endregion
//#endregion
//#region Биомасса
e.remove({ id: 'gtceu:brewery/biomass_from_sugar_cane' })
e.remove({ id: 'gtceu:brewery/biomass_from_red_mushroom' })
e.remove({ id: 'gtceu:brewery/biomass_from_potato' })
e.remove({ id: 'gtceu:brewery/biomass_from_carrot' })
e.remove({ id: 'gtceu:brewery/biomass_from_cactus' })
e.remove({ id: 'gtceu:brewery/biomass_from_brown_mushroom' })
e.remove({ id: 'gtceu:brewery/biomass_from_beetroot' })
e.recipes.gtceu.brewery('tfg:biomass_from_tfc_seeds')
.itemInputs('#tfc:seeds')
.inputFluids(Fluid.of('minecraft:water', 20))
.outputFluids(Fluid.of('gtceu:biomass', 20))
.EUt(3).duration(128)
e.recipes.gtceu.brewery('tfg:biomass_from_tfc_food')
.itemInputs('#tfc:foods')
.inputFluids(Fluid.of('minecraft:water', 20))
.outputFluids(Fluid.of('gtceu:biomass', 20))
.EUt(3).duration(128)
e.recipes.gtceu.brewery('tfg:biomass_from_tfc_plants')
.itemInputs('#tfc:plants')
.inputFluids(Fluid.of('minecraft:water', 20))
.outputFluids(Fluid.of('gtceu:biomass', 20))
.EUt(3).duration(128)
e.recipes.gtceu.brewery('tfg:biomass_from_tfc_corals')
.itemInputs('#tfc:corals')
.inputFluids(Fluid.of('minecraft:water', 20))
.outputFluids(Fluid.of('gtceu:biomass', 20))
.EUt(3).duration(128)
//#endregion
//#region Рыбье масло
e.remove({ id: 'gtceu:extractor/fish_oil_from_tropical_fish' })
e.remove({ id: 'gtceu:extractor/fish_oil_from_salmon' })
e.remove({ id: 'gtceu:extractor/fish_oil_from_pufferfish' })
e.remove({ id: 'gtceu:extractor/fish_oil_from_cod' })
e.recipes.gtceu.extractor(`tfg:fish_oil`)
.itemInputs('#minecraft:fishes')
.outputFluids(Fluid.of('gtceu:fish_oil', 40))
.EUt(4).duration(16)
//#endregion
//#region Семянное масло
e.remove({ id: 'gtceu:extractor/seed_oil_from_wheat_seeds' })
e.remove({ id: 'gtceu:extractor/seed_oil_from_pumpkin' })
e.remove({ id: 'gtceu:extractor/seed_oil_from_melon' })
e.remove({ id: 'gtceu:extractor/seed_oil_from_beetroot' })
e.remove({ id: 'gtceu:extractor/seed_oil_from_torchflower' })
e.recipes.gtceu.extractor(`tfg:seed_oil`)
.itemInputs('#tfc:seeds')
.outputFluids(Fluid.of('gtceu:seed_oil', 16))
.EUt(2).duration(32)
//#endregion
//#region Пыль бетона
e.remove({ id: 'gtceu:mixer/concrete_from_marble' })
e.recipes.gtceu.mixer('tfg:concrete_from_marble')
.itemInputs('2x #tfg:stone_dusts', 'gtceu:marble_dust', 'gtceu:gypsum_dust')
.inputFluids(Fluid.of('minecraft:water', 1000))
.outputFluids(Fluid.of('gtceu:concrete', 1152))
.EUt(16).duration(40)
e.remove({ id: 'gtceu:mixer/concrete_from_clay' })
e.recipes.gtceu.mixer('tfg:concrete_from_clay')
.itemInputs('3x #tfg:stone_dusts', 'gtceu:clay_dust')
.inputFluids(Fluid.of('minecraft:water', 500))
.outputFluids(Fluid.of('gtceu:concrete', 576))
.EUt(16).duration(20)
e.remove({ id: 'gtceu:mixer/concrete_from_calcite' })
e.recipes.gtceu.mixer('tfg:concrete_from_calcite')
.itemInputs('3x #tfg:stone_dusts', 'gtceu:calcite_dust', 'gtceu:gypsum_dust')
.inputFluids(Fluid.of('minecraft:water', 1000))
.outputFluids(Fluid.of('gtceu:concrete', 1152))
.EUt(16).duration(40)
//#endregion
//#region Бурильная жидкость
e.remove({ id: 'gtceu:mixer/drilling_fluid' })
e.recipes.gtceu.mixer('tfg:drilling_fluid')
.itemInputs('2x #tfg:stone_dusts')
.inputFluids(Fluid.of('gtceu:lubricant', 20), Fluid.of('minecraft:water', 4000))
.outputFluids(Fluid.of('gtceu:drilling_fluid', 5000))
.EUt(16).duration(65)
e.remove({ id: 'gtceu:mixer/drilling_fluid_distilled' })
e.recipes.gtceu.mixer('tfg:drilling_fluid_distilled')
.itemInputs('2x #tfg:stone_dusts')
.inputFluids(Fluid.of('gtceu:lubricant', 20), Fluid.of('gtceu:distilled_water', 4000))
.outputFluids(Fluid.of('gtceu:drilling_fluid', 5000))
.EUt(16).duration(65)
//#endregion
//#region Бумажная пыль
e.remove({ id: 'gtceu:shaped/paper_dust' })
e.shaped('2x gtceu:paper_dust', [
'AAA',
' B '
], {
A: 'tfc:unrefined_paper',
B: '#forge:tools/mortars'
}).id('tfg:shaped/paper_dust_from_papyrus')
//#endregion
//#region Метан
e.remove({ id: 'gtceu:centrifuge/red_mushroom_separation' })
e.remove({ id: 'gtceu:centrifuge/brown_mushroom_separation' })
//#endregion
//#region Пыль какао-бобов
e.remove({ id: 'gtceu:macerator/macerate_cocoa' })
e.recipes.gtceu.assembler('tfg:macerate_cocoa')
.itemInputs('firmalife:food/cocoa_beans')
.itemOutputs('gtceu:cocoa_dust')
.EUt(2).duration(400)
//#endregion
//#region Коксовая печь
//#region Контроллер
e.remove({ id: 'gtceu:shaped/coke_oven' })
e.shaped('gtceu:coke_oven', [
'ABA',
'BCB',
'ABA'
], {
A: 'gtceu:coke_oven_bricks',
B: '#tfg:all_iron_plates',
C: '#forge:tools/wrenches'
}).id('tfg:shaped/coke_oven')
//#endregion
//#region Люк
e.remove({ id: 'gtceu:shaped/coke_oven_hatch' })
e.shaped('gtceu:coke_oven_hatch', [
'ABC'
], {
A: 'gtceu:coke_oven_bricks',
B: '#tfc:barrels',
C: '#forge:chests/wooden'
}).id('tfg:shaped/coke_oven_hatch')
//#endregion
//#endregion
//#region Одноблочный бронзовый бойлер
e.remove({ id: 'gtceu:shaped/steam_boiler_coal_bronze' })
e.shaped('gtceu:lp_steam_solid_boiler', [
'AAA',
'ACA',
'BDB'
], {
A: '#forge:plates/bronze',
B: 'minecraft:bricks',
C: '#forge:tools/wrenches',
D: 'tfc:blast_furnace'
}).id('tfg:shaped/steam_boiler_coal_bronze')
//#endregion
//#region Одноблочный стальной бойлер
e.remove({ id: 'gtceu:shaped/steam_boiler_coal_steel' })
e.shaped('gtceu:hp_steam_solid_boiler', [
'AAA',
'ACA',
'BDB'
], {
A: '#forge:plates/steel',
B: 'minecraft:bricks',
C: '#forge:tools/wrenches',
D: 'tfc:blast_furnace'
}).id('tfg:shaped/steam_boiler_coal_steel')
//#endregion
//#region Стеклянная трубка
e.recipes.tfc.glassworking('gtceu:glass_tube', '#tfc:glass_batches_tier_3', ['blow', 'stretch', 'stretch'])
.id('tfg:glassworking/glass_tube')
//#endregion
//#region Контроллер притивной доменной печи
e.remove({ id: 'gtceu:shaped/bronze_primitive_blast_furnace' })
//#endregion
//#region Крышка на бесконечную воду
e.remove('gtceu:assembler/cover_infinite_water')
//#endregion
//#region Бесконечный резервуар с водой
e.remove('gtceu:assembler/reservoir_hatch')
//#endregion
//#region Бочка
e.remove({ id: 'gtceu:shaped/wooden_barrel' })
e.shaped('gtceu:wood_drum', [
'mAs',
'BCB',
'BDB'
], {
A: 'gtceu:sticky_resin',
B: '#minecraft:planks',
C: '#tfc:barrels',
D: '#tfg:all_long_iron_rods',
m: '#forge:tools/mallets',
s: '#forge:tools/saws',
}).id('tfg:workbench/wood_drum')
e.remove({ id: 'gtceu:assembler/wood_barrel' })
e.recipes.gtceu.assembler('tfg:wood_barrel')
.itemInputs('2x #tfg:all_long_iron_rods', '5x #minecraft:planks')
.itemOutputs('gtceu:wood_drum')
.EUt(16).duration(100)
//#endregion
//#region Пыль звезды незера
// TODO: Нужно ли удалять?
e.recipes.gtceu.chemical_reactor('tfg:small_nether_star_dust')
.itemInputs('2x #forge:dusts/iridium', '#forge:dusts/diamond')
.circuit(10)
.itemOutputs('gtceu:small_nether_star_dust')
.inputFluids(Fluid.of('gtceu:sulfur_dioxide', 6000), Fluid.of('gtceu:carbon_monoxide', 8000))
.EUt(2720).duration(700)
//#endregion
//#region Пустая деревянная форма
e.remove({ id: 'gtceu:shaped/plank_to_wooden_shape' })
e.shaped('gtceu:empty_wooden_form', [
'AAA',
' sA'
], {
A: '#tfc:lumber',
s: '#forge:tools/saws'
}).id('tfg:shaped/plank_to_wooden_shape')
//#endregion
//#region Деревянная шестерня
e.remove({ id: 'gtceu:shaped/gear_wood' })
e.shaped('gtceu:wood_gear', [
' A ',
'ABA',
' A '
], {
A: '#forge:rods/wooden',
B: '#forge:tools/wrenches'
}).id('tfg:shaped/gear_wood')
//#endregion
//#region Sticky Resin
e.recipes.gtceu.fluid_solidifier('tfg:latex_heating')
.itemInputs('#forge:dusts/sulfur')
.inputFluids(Fluid.of('tfg:latex', 1000))
.itemOutputs('gtceu:sticky_resin')
.duration(480)
.EUt(7)
//#endregion
//#region Multi-Smelter Controller
e.remove({ id: 'gtceu:shaped/multi_furnace' })
e.shaped('gtceu:multi_smelter', [
'AAA',
'BCB',
'DBD'
], {
A: 'gtceu:hp_steam_furnace',
B: '#gtceu:circuits/hv',
C: 'gtceu:heatproof_machine_casing',
D: 'gtceu:copper_single_cable'
}).id('tfg:shaped/multi_furnace')
//#endregion
//#region Electric Blast Furnace
e.remove({ id: 'gtceu:shaped/electric_blast_furnace' })
e.shaped('gtceu:electric_blast_furnace', [
'AAA',
'BCB',
'DBD'
], {
A: 'gtceu:hp_steam_furnace',
B: '#gtceu:circuits/lv',
C: 'gtceu:heatproof_machine_casing',
D: 'gtceu:tin_single_cable'
}).id('tfg:shaped/electric_blast_furnace')
//#endregion
//#region GTM клей из TFC клея
e.recipes.gtceu.centrifuge('tfg:glue_from_tfc_glue')
.itemInputs('tfc:glue')
.outputFluids(Fluid.of('gtceu:glue', 50))
.EUt(5).duration(400)
//#endregion
//#region Рецепт ULV микросхемы
e.remove({ id: 'gtceu:shaped/vacuum_tube' })
e.recipes.createSequencedAssembly([
'gtceu:vacuum_tube',
], '#forge:plates/wrought_iron', [
e.recipes.createDeploying('tfg:unfinished_vacuum_tube', ['tfg:unfinished_vacuum_tube', '#forge:bolts/steel']),
e.recipes.createDeploying('tfg:unfinished_vacuum_tube', ['tfg:unfinished_vacuum_tube', 'gtceu:glass_tube']),
e.recipes.createDeploying('tfg:unfinished_vacuum_tube', ['tfg:unfinished_vacuum_tube', 'gtceu:copper_single_wire']),
]).transitionalItem('tfg:unfinished_vacuum_tube').loops(2).id('tfg:sequenced_assembly/vacuum_tube')
//#endregion
//#region Рецепт LV микросхемы
e.remove({ id: 'gtceu:shaped/electronic_circuit_lv' })
e.recipes.createSequencedAssembly([
'gtceu:basic_electronic_circuit',
], 'gtceu:resin_printed_circuit_board', [
e.recipes.createDeploying('tfg:unfinished_basic_electronic_circuit', ['tfg:unfinished_basic_electronic_circuit', '#forge:plates/steel']),
e.recipes.createDeploying('tfg:unfinished_basic_electronic_circuit', ['tfg:unfinished_basic_electronic_circuit', 'gtceu:resistor']),
e.recipes.createDeploying('tfg:unfinished_basic_electronic_circuit', ['tfg:unfinished_basic_electronic_circuit', 'gtceu:vacuum_tube']),
e.recipes.createDeploying('tfg:unfinished_basic_electronic_circuit', ['tfg:unfinished_basic_electronic_circuit', 'gtceu:red_alloy_single_cable']),
]).transitionalItem('tfg:unfinished_basic_electronic_circuit').loops(2).id('tfg:sequenced_assembly/basic_electronic_circuit')
//#endregion
//#region Compressed Coke Clay
e.remove({ id: 'gtceu:shaped/compressed_coke_clay' })
e.shaped('3x gtceu:compressed_coke_clay', [
'AAA',
'BCB',
'BBB'
], {
A: 'minecraft:clay_ball',
B: '#minecraft:sand',
C: 'gtceu:brick_wooden_form'
})
.replaceIngredient('gtceu:brick_wooden_form', 'gtceu:brick_wooden_form')
.id('tfg:shaped/compressed_coke_clay')
//#endregion
//#region Compressed Coke Clay -> Coke Oven Brick
e.recipes.tfc.heating('gtceu:compressed_coke_clay', 1399)
.resultItem('gtceu:coke_oven_brick')
.id('tfg:heating/coke_oven_bricks')
//#endregion
//#region Огнеупорные кирпичи (предмет)
e.remove({ id: 'gtceu:smelting/fireclay_brick' })
e.remove({ id: 'gtceu:extractor/extract_primitive_bricks' })
//#endregion
//#region Огнеупорные кирпичи (блок)
e.remove({ id: 'gtceu:shaped_fluid_container/casing_primitive_bricks' })
//#endregion
//#region Уплотненная огнеупорная глина
e.remove({ id: 'gtceu:compressor/compressed_fireclay' })
//#endregion
//#region Кальцитовая пыль
e.remove({ id: 'gtceu:macerator/macerate_calcite' })
//#endregion
//#region TODO: Не работает из-за магического бага / Вырезка из резины
// e.recipes.tfc.knapping('gtceu:rubber_ring', 'tfg:rubber', ['XXX', 'X X', 'XXX'])
// .ingredient('gtceu:rubber_plate')
//#endregion
}