add construction core multiblock

easier to build now yahoo
This commit is contained in:
ursamina
2024-02-23 21:52:05 +00:00
parent 02942789c2
commit 0026545a27
2 changed files with 43 additions and 0 deletions

View 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
);
});

View 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);
});