This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Ambitious Turtle's profile picture

Turtle using external crafting block?

Started by Ambitious Turtle, 25 April 2017 - 06:40 PM
Ambitious Turtle #1
Posted 25 April 2017 - 08:40 PM
Dear pro's, I'm looking for a way to let my turtle use any crafting device. The turtle is programmed to craft whatever it needs on the spot. Currently I can only get it to use the crafting table as an attached peripheral (as a crafty turtle). The trouble is that it has to clean out its entire inventory to do so. So it has to carry around an empty chest just to make room for crafting.

I've tried to wrap a crafting station (from Tinkers' construct) or an auto workbench (from Buildcraft) but they won't accept items. After for example bench = peripheral.wrap() I can use bench.getMethods() or bench.getInventorySize() and they return the expected values, but using bench.pullItemIntoSlot() doesn't work (returns 0). Doing the exact same thing with a chest works fine, so it isn't simply an error in the code.

Any advice on how to fix this or even alternative options for crafting turtles would be most welcome!
Bomb Bloke #2
Posted 26 April 2017 - 11:15 AM
You could always use another turtle, I suppose.