add construction core multiblock
easier to build now yahoo
This commit is contained in:
33
kubejs/startup_scripts/machinery/construction_core.js
Normal file
33
kubejs/startup_scripts/machinery/construction_core.js
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
GTCEuStartupEvents.registry("gtceu:machine", (event) => {
|
||||||
|
event
|
||||||
|
.create("construction_core", "multiblock")
|
||||||
|
.rotationState(RotationState.NON_Y_AXIS)
|
||||||
|
.recipeType("construction_core")
|
||||||
|
.appearanceBlock(GTBlocks.MACHINE_CASING_ULV)
|
||||||
|
.recipeModifier(
|
||||||
|
GTRecipeModifiers.ELECTRIC_OVERCLOCK.apply(
|
||||||
|
OverclockingLogic.NON_PERFECT_OVERCLOCK
|
||||||
|
)
|
||||||
|
)
|
||||||
|
.pattern((definition) =>
|
||||||
|
FactoryBlockPattern.start()
|
||||||
|
.aisle("BBB", "GGG", "BBB")
|
||||||
|
.aisle("BBB", "GCG", "BBB")
|
||||||
|
.aisle("BEB", "GGG", "BBB")
|
||||||
|
.where("E", Predicates.controller(Predicates.blocks(definition.get())))
|
||||||
|
.where("C", Predicates.blocks("gtceu:steel_gearbox"))
|
||||||
|
.where("G", Predicates.blocks("gtceu:tempered_glass"))
|
||||||
|
.where(
|
||||||
|
"B",
|
||||||
|
Predicates.blocks("gtceu:lv_machine_casing")
|
||||||
|
.setMinGlobalLimited(5)
|
||||||
|
.or(Predicates.autoAbilities(definition.getRecipeTypes()))
|
||||||
|
)
|
||||||
|
.build()
|
||||||
|
)
|
||||||
|
.workableCasingRenderer(
|
||||||
|
"gtceu:block/casings/voltage/lv/side",
|
||||||
|
"gtceu:block/multiblock/implosion_compressor",
|
||||||
|
true
|
||||||
|
);
|
||||||
|
});
|
||||||
10
kubejs/startup_scripts/recipes/construction_core.js
Normal file
10
kubejs/startup_scripts/recipes/construction_core.js
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
GTCEuStartupEvents.registry("gtceu:recipe_type", (event) => {
|
||||||
|
event
|
||||||
|
.create("construction_core")
|
||||||
|
.category("test")
|
||||||
|
.setEUIO("in")
|
||||||
|
.setMaxIOSize(2, 1, 1, 0)
|
||||||
|
.setSlotOverlay(false, false, GuiTextures.BOX_OVERLAY)
|
||||||
|
.setProgressBar(GuiTextures.PROGRESS_BAR_BATH, FillDirection.LEFT_TO_RIGHT)
|
||||||
|
.setSound(GTSoundEntries.COOLING);
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user