7 posts
Posted 22 February 2014 - 06:50 PM
Hello.
I have a Problem with my crafting program it should craft 2 blaze powder to one blaze rod with one minium stone normaly it works but in this case it wont wor dont know why.
while true do
-- Take Items
turtle.select(2)
if turtle.getItemCount(2) == 0 then
turtle.suckDown()
end
turtle.select(5)
if turtle.getItemCount(3) == 0 then
turtle.suckDown()
end
-- Craft Item
turtle.select(16)
if turtle.getItemCount(2) == 0 then
else
if turtle.getItemCount(3) == 0 then
else
turtle.craft(1)
end
end
-- Drop Item
turtle.dropUp()
end
in slot 1 is the miniumstone
4 cobblestone to one flint works
Hope anyone knows why it wont work
8543 posts
Posted 22 February 2014 - 07:07 PM
Have you confirmed that this recipe actually works outside of the turtle, in a normal crafting grid? Many mod packs disable this recipe as it allows for blaze rods to be macerated/pulverized in a machine to yield four powder, two of which can be combined into a new rod, effectively giving nearly unlimited blaze rods/powder at the price of minium shards.
7 posts
Posted 22 February 2014 - 07:13 PM
Hello.
I have a problem with my turtle.
It is taking items in slot 7-15 but the command is only
turtle.select(2)
if turtle.getItemCount(2) == 0 then
turtle.suckDown()
end
turtle.select(6)
if turtle.getItemCount(3) == 0 then
turtle.suckDown()
end
7 posts
Posted 22 February 2014 - 07:17 PM
I am using the Feed the beast ultimate package and it works.
I have tested a litle bit and i managed to get the prgram running i only need to useslot 6 instead of 5.
But then a new problem appeard but for that i opened a new topic.
The problem is that the turtle is taking powder to the slot 2 and 6 and to all other slots too and tahts a big problem.
how can i block slots that they cant get filled without putting something in.
8543 posts
Posted 22 February 2014 - 07:19 PM
Threads merged. Please stick to one topic for all questions on a given program.
Also, you're looking at how many items are in slot 3 to decide whether or not to suck things into slot 6.
7 posts
Posted 22 February 2014 - 07:26 PM
Ok.
So why it is filling the wohle turtle with powder without the command to do that or did i make a mistake.
And sorry fpr my bad english
8543 posts
Posted 22 February 2014 - 08:14 PM
It's doing exactly what you told it. It selects slot six, looks at how many items are in slot 3, and if there are zero items (which I'd imagine there usually will be), the turtle sucks from the inventory below it. The first time, the items are placed in slot six, but once it's full, it will place items in the next available slot. You probably want it to actually be checking the amount of items in slot six, rather than slot three.
7 posts
Posted 23 February 2014 - 07:37 AM
ok i fixed it i dont know why it works but heres the code i used
while true do
-- Take Items
turtle.select(2)
if turtle.getItemCount(2) == 0 then
turtle.suckDown()
end
turtle.select(3)
if turtle.getItemCount(3) == 0 then
turtle.suckDown()
end
-- Craft Item
turtle.select(16)
if turtle.getItemCount(2) == 0 then
else
if turtle.getItemCount(3) == 0 then
else
turtle.craft(1)
end
end
-- Drop Item
turtle.dropUp()
end
7 posts
Posted 23 February 2014 - 08:06 AM
The programs work fine but a new problem apeared.
After a few minutes the EE3 recipes wont work i cant do anithing with the minium stone anyone knows how to fix that?
7083 posts
Location
Tasmania (AU)
Posted 23 February 2014 - 08:34 AM
Do you mean just the turtle can't do anything with the stones, or neither you nor the turtle can do anything with the stones?
Do other recipes still work?
7 posts
Posted 23 February 2014 - 08:50 AM
Nobody can do anything with it and no other recipes work i found out why it is if u disable the factorisation mod it will work fine and that mod is not necesary for me so its a good way to fix it if there is another way just say.