GregTechCEu Modern

GregTechCEu Modern

6M Downloads

Laser hatch machine parallel error

nutant233 opened this issue ยท 0 comments

commented

Checked for existing issues

  • I have checked for existing issues, and have found none.

Tested latest version

  • I have checked that this occurs on the latest version.

GregTech CEu Version

1.20.1-1.2.3.a-build_707

Recipe Viewer Installed

JEI

Environment

Singleplayer

Cross-Mod Interaction

No

Other Installed Mods

kjs

Expected Behavior

Machine is operating normally.

Actual Behavior

Machine is not running.

Steps to Reproduce

Add a machine
GTCEuStartupEvents.registry("gtceu:machine", event => {
event.create("large_chemical_plant", "multiblock")
.rotationState(RotationState.NON_Y_AXIS)
.recipeType("large_chemical_reactor")
.recipeModifiers([GTRecipeModifiers.PARALLEL_HATCH, GTRecipeModifiers.ELECTRIC_OVERCLOCK.apply(OverclockingLogic.PERFECT_OVERCLOCK)])
.appearanceBlock(GTBlocks.CASING_PTFE_INERT)
.pattern((definition) => FactoryBlockPattern.start()
.aisle("aaaaaaaaaaa", " ", " ", " ", " ", " ", " ", " ", "aaaaaaaaaaa")
.aisle("aaaaaaaaaaa", " aaaaaaaaa ", " a a ", " a a ", " a a ", " a a ", " a a ", " aaaaaaaaa ", "aaaaaaaaaaa")
.aisle("aaaaaaaaaaa", " abbbbbbba ", " bbbbbbb ", " bacccab ", " bacccab ", " bacccab ", " bbbbbbb ", " abbbbbbba ", "aaaaaaaaaaa")
.aisle("aaaaaaaaaaa", " abbbbbbba ", " bbdddbb ", " abdddba ", " abdddba ", " abdddba ", " bbdddbb ", " abbbbbbba ", "aaaaaaaaaaa")
.aisle("aaaaaaaaaaa", " abb b bba ", " bd db ", " cd dc ", " cd dc ", " cd dc ", " bd db ", " abb b bba ", "aaaaaaaaaaa")
.aisle("aaaaaaaaaaa", " abbbbbbba ", " bd b db ", " cd b dc ", " cd b dc ", " cd b dc ", " bd b db ", " abbbbbbba ", "aaaaaaaaaaa")
.aisle("aaaaaaaaaaa", " abb b bba ", " bd db ", " cd dc ", " cd dc ", " cd dc ", " bd db ", " abb b bba ", "aaaaaaaaaaa")
.aisle("aaaaaaaaaaa", " abbbbbbba ", " bbdddbb ", " abdddba ", " abdddba ", " abdddba ", " bbdddbb ", " abbbbbbba ", "aaaaaaaaaaa")
.aisle("aaaaaaaaaaa", " abbbbbbba ", " bbbbbbb ", " bacccab ", " bacccab ", " bacccab ", " bbbbbbb ", " abbbbbbba ", "aaaaaaaaaaa")
.aisle("aaaaaaaaaaa", " aaaaaaaa ", " a a ", " a a ", " a a ", " a a ", " a a ", " aaaaaaaaa ", "aaaaaaaaaaa")
.aisle("aaaaaaaaaaa", " ", " ", " ", " ", " ", " ", " ", "aaaaaaaaaaa")
.where("
", Predicates.controller(Predicates.blocks(definition.get())))
.where("a", Predicates.blocks("gtceu:inert_machine_casing")
.setMinGlobalLimited(60)
.or(Predicates.abilities(PartAbility.PARALLEL_HATCH).setMaxGlobalLimited(1))
.or(Predicates.autoAbilities(definition.getRecipeTypes()))
.or(Predicates.abilities(PartAbility.MAINTENANCE).setExactLimit(1))
.or(Predicates.abilities(PartAbility.INPUT_LASER).setMaxGlobalLimited(1)))
.where("c", Predicates.blocks("gtceu:tempered_glass"))
.where("d", Predicates.heatingCoils())
.where("b", Predicates.blocks("gtceu:ptfe_pipe_casing"))
.where(" ", Predicates.any())
.build())
.workableCasingRenderer("gtceu:block/casings/solid/machine_casing_inert_ptfe", "gtceu:block/machines/chemical_reactor", false)
})
Add a recipe.
ServerEvents.recipes(event=>{
event.recipes.gtceu.chemical_reactor("1")
.itemInputs("copper_ingot")
.itemOutputs("iron_ingot")
.EUt(GTValues.VA[GTValues.IV])
.duration(200)
})
Install the ULV energy hatch for the machine.
Install 256A IV laser hatch.
Install UV parallel hatch,Set 256 parallel.
Install other hatches.
Put in the copper ingot.

Additional Information

Additionally, if the machine power exceeds MAX, it will no longer continue to operate in parallel.