Jump to content




Detecting Turtle inventory information and using it


3 replies to this topic

#1 ravensniper72

  • Members
  • 13 posts

Posted 11 December 2020 - 11:18 PM

I'm currently trying to make a Auto Farming program but I am unsure how to do what I want.

I want to have it where when it detects that slot 1 is empty of seeds it checks slot 2 and if it has some to use it.
I want to do this for all 16 slots.

#2 Lupus590

  • Members
  • 2,029 posts
  • LocationUK

Posted 11 December 2020 - 11:46 PM

Have you read the documentation?
https://tweaked.cc/m...e.html#v:select
https://tweaked.cc/m...#v:getItemCount

#3 ravensniper72

  • Members
  • 13 posts

Posted 12 December 2020 - 12:48 AM

ok well that does help me some but how would I go about comparing two slots to see if it has a specific item in it?

#4 Luca_S

  • Members
  • 407 posts
  • LocationGermany

Posted 12 December 2020 - 07:21 AM

View Postravensniper72, on 12 December 2020 - 12:48 AM, said:

ok well that does help me some but how would I go about comparing two slots to see if it has a specific item in it?

You can use https://tweaked.cc/m...v:getItemDetail





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users