-
-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathme_circuit_assembler.js
More file actions
29 lines (29 loc) · 1.9 KB
/
Copy pathme_circuit_assembler.js
File metadata and controls
29 lines (29 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
GTCEuStartupEvents.registry('gtceu:machine', event => {
event.create('large_me_assembler', 'multiblock')
.rotationState(RotationState.NON_Y_AXIS)
.recipeType('me_assembler')
.recipeModifiers([GTRecipeModifiers.PARALLEL_HATCH, GTRecipeModifiers.OC_NON_PERFECT_SUBTICK, GTRecipeModifiers.BATCH_MODE])
.appearanceBlock(() => Block.getBlock('kubejs:fluix_steel_casing'))
.pattern(definition => FactoryBlockPattern.start()
.aisle("AAFFFFFAA", "ACCCCCCCA", "AAFFFFFAA")
.aisle("AEEEEEEEA", "FDDDDDDDF", "AAAABAAAA")
.aisle("AFFAEAFFA", "ACCCDCCCA", "AFFABAFFA")
.aisle(" A@A ", " CCC ", " AAA ")
.where("@", Predicates.controller(Predicates.blocks(definition.get())))
.where("A", Predicates.blocks("kubejs:fluix_steel_casing")
.or(Predicates.abilities(PartAbility.IMPORT_ITEMS).setMaxGlobalLimited(2))
.or(Predicates.abilities(PartAbility.IMPORT_FLUIDS).setMaxGlobalLimited(2))
.or(Predicates.abilities(PartAbility.EXPORT_ITEMS).setMaxGlobalLimited(2))
.or(Predicates.abilities(PartAbility.PARALLEL_HATCH).setMaxGlobalLimited(1))
.or(Predicates.abilities(PartAbility.MAINTENANCE).setExactLimit(1))
.or(Predicates.abilities(PartAbility.INPUT_ENERGY).setMaxGlobalLimited(2)))
.where("B", Predicates.blocks("gtceu:assembly_line_grating"))
.where("C", Predicates.blocks("ae2:quartz_glass"))
.where("D", Predicates.blocks("gtceu:high_power_casing"))
.where("E", Predicates.blocks("gtceu:tungstensteel_pipe_casing"))
.where("F", Predicates.blocks("gtceu:computer_heat_vent"))
.where(" ", Predicates.any())
.build())
.workableCasingModel('kubejs:block/casings/basic/fluix_casing',
'gtceu:block/machines/circuit_assembler');
});