GTNewHorizons / Minetweaker-Gregtech-5-Addon

Minetweaker Addon for all Gregtech 5 Machines
GNU General Public License v3.0
19 stars 12 forks source link

Can not register assemble recipe that uses 3 slot or more than. #46

Closed yukieiji closed 5 years ago

yukieiji commented 5 years ago

I tried to add a recipe to assembler that use 3 slot but I could not. Environment:GT New Horizon ver2.0.6.0, GregTech 5.09.33.03, GTTweaker-1.7.10-1.7.0

Techlone commented 5 years ago

You have to pass an array https://github.com/GTNewHorizons/Minetweaker-Gregtech-5-Addon/blob/master/src/main/java/gttweaker/mods/gregtech/machines/Assembler.java#L47 addRecipe(<out>, [<in1>, <in2>, <in3>, <in4>], ...)

yukieiji commented 5 years ago

Thank you.