Jump to content




[Question] Mining Turtle Selected Block


  • You cannot reply to this topic
2 replies to this topic

#1 Stormkrow

  • Members
  • 50 posts
  • LocationSouth Africa

Posted 05 July 2012 - 03:03 PM

Hi all,
Im just wanna find out if a turtle can detect a certain block that is the same in its selected slot and then break and replace it with a different block in a different slot?
Im stuck at this

If turtle.compareDown() then
turtle.digDown()
end
turtle.placeDown()
turtle.forward()

I dont know how to make it place a block other than the one in its selected slot

Lemme know
thanks

#2 MysticT

    Lua Wizard

  • Members
  • 1,597 posts

Posted 05 July 2012 - 03:10 PM

turtle.select(<slot>)
slot: from 1 to 9, like:
1 2 3
4 5 6
7 8 9

#3 Stormkrow

  • Members
  • 50 posts
  • LocationSouth Africa

Posted 05 July 2012 - 03:40 PM

Thanks so much :3





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users