13 posts
Posted 26 July 2014 - 04:51 AM
I was wondering if there was any way to make a turtle get all of the cobblestone (cobblestone only) out of a chest and throw it in lava? I need this for my turtle quarries.
656 posts
Posted 26 July 2014 - 08:29 AM
You have to use turtle.compare() because the turtle can't get the id from items. Place one cobblestone in the last inventory slot to compare to. Suck a stack of items, compare it to the cobblestone, if it is cobble, drop in the lava, else drop it in the output chest.
EDIT: Fixed typo
Edited on 26 July 2014 - 07:37 AM
154 posts
Location
London, England
Posted 26 July 2014 - 09:05 AM
It's worth noting that all the pipe mods can do this type of filtered pulling: Buildcraft: Emerald transport pipe, TE3: Itemduct with pneumatic valve, EnderIO: Just does it, think it's also possible with Golems and Thaumcraft.
also it's turtle.compare()
656 posts
Posted 26 July 2014 - 09:38 AM
It's worth noting that all the pipe mods can do this type of filtered pulling: Buildcraft: Emerald transport pipe, TE3: Itemduct with pneumatic valve, EnderIO: Just does it, think it's also possible with Golems and Thaumcraft.
also it's turtle.compare()
Thanks, fixed.
Also, it's pneumatic servo :P/>
154 posts
Location
London, England
Posted 26 July 2014 - 12:19 PM
Dangit! isn't that just typical irony? I user enderio mostly anyway, got to love sending items, power, fluid and redstone all through one block and being able to insert and extract with the same connector