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.
0
Detecting Turtle inventory information and using it
Started by ravensniper72, Dec 11 2020 11:18 PM
3 replies to this topic
#1
Posted 11 December 2020 - 11:18 PM
#2
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
https://tweaked.cc/m...e.html#v:select
https://tweaked.cc/m...#v:getItemCount
#3
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
Posted 12 December 2020 - 07:21 AM
ravensniper72, 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