GregTechCEu / GregTech-Modern

GregTech CE Unofficial for modern versions
GNU Lesser General Public License v3.0
268 stars 162 forks source link

Custom recipe using CWU output doesn't work #1139

Open gjmhmm8 opened 5 months ago

gjmhmm8 commented 5 months ago

Checked for existing issues

Tested latest version

GregTech CEu Version

build 606

Recipe Viewer Installed

None

Environment

Singleplayer

Cross-Mod Interaction

No

Other Installed Mods

Expected Behavior

run recipe when use cwu

Actual Behavior

don‘t run recipe

Steps to Reproduce

event.create("greenhouse", "multiblock") .rotationState(RotationState.NON_Y_AXIS) .recipeType("greenhouse") .appearanceBlock(GTBlocks.MACHINE_CASING_ULV) .recipeModifier(GTRecipeModifiers.ELECTRIC_OVERCLOCK.apply(OverclockingLogic.NON_PERFECT_OVERCLOCK)) .pattern((definition) => FactoryBlockPattern.start() .aisle("0BBB0", "0BBB0", "0BBB0", "0BBB0") .aisle("BBBBB", "B###B", "B###B", "BGGGB") .aisle("BBBBB", "B###B", "B###B", "BGGGB") .aisle("BBBBB", "B###B", "B###B", "BGGGB") .aisle("0BBB0", "0BEB0", "0BBB0", "0BBB0") .where("E", Predicates.controller(Predicates.blocks(definition.get()))) .where("G", Predicates.blocks("gtceu:tempered_glass")) .where("B", Predicates.blocks("gtceu:ulv_machine_casing").setMinGlobalLimited(40) .or(Predicates.autoAbilities(definition.getRecipeTypes())) .or(Predicates.abilities(PartAbility.MAINTENANCE).setExactLimit(1)) .or(Predicates.abilities(PartAbility.COMPUTATION_DATA_TRANSMISSION)) ) .where("#", Predicates.air()) .where("0", Predicates.any()) .build()) .workableCasingRenderer( "gtceu:block/casings/voltage/ulv/side", "gtceu:block/multiblock/implosion_compressor", false ) gtr.greenhouse("123") .EUt(1024) .CWUt(-100) .notConsumable("minecraft:diamond") .itemOutputs("minecraft:diamond") can‘t work

gtr.greenhouse("123") .EUt(1024) .notConsumable("minecraft:diamond") .itemOutputs("minecraft:diamond") can work

Additional Information

No response

METABYTECODE commented 5 months ago

image image image

cwu not working

gjmhmm8 commented 5 months ago

image image image

cwu not working

hpca can work,but costom machine can't

gjmhmm8 commented 5 months ago

https://github.com/gjmhmm8/GregTech-Modern/tree/CPMachine

screret commented 5 months ago

I don't think this is completed?? also we will NOT merge whatever that... thing is.

screret commented 5 months ago

or did you find out it does work?