I'm using the latest beta for 1.7.2. Now that you can switch around tools and attached peripherals, it would lead me to believe there is probably a way to return what type of tool is on it. Is there?
I tried peripheral.getType(side) and it worked and returned "modem" for a modem, but not for the tool.
Any way to detect the type of tool a turtle has?
Started by CCJJSax, Apr 25 2014 06:41 PM
2 replies to this topic
#1
Posted 25 April 2014 - 06:41 PM
#2
Posted 26 April 2014 - 12:00 AM
Not really, short of putting the turtle in front of a block and attempting to dig through it. The turtle knows whether the tool is suitable, even if it doesn't have any functions that'll tell you what that tool is.
#3
Posted 28 April 2014 - 12:27 AM
Bomb Bloke, on 26 April 2014 - 12:00 AM, said:
Not really, short of putting the turtle in front of a block and attempting to dig through it. The turtle knows whether the tool is suitable, even if it doesn't have any functions that'll tell you what that tool is.
Hmm. I think I shall suggest it. unless I find it already in the suggestions.
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users











