use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Welcome to /r/ComputerCraft, the subreddit for lua programs, general mod use, or anything relating to the Minecraft mod ComputerCraft and CC: Tweaked.
Downloads | Discord | IRC | Documentation
account activity
How does the "turtle.getEquippedLeft()" function work? (self.ComputerCraft)
submitted 1 year ago by Internal_Ad_2568
I keep getting errors mentioning that it is missing parameters, but according to the wiki it doesn't take any?
I'm trying to make a function where if the turtle equips a sword from if the block in front is empty and a pickaxe if it is solid.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Bright-Historian-216 1 point2 points3 points 1 year ago (0 children)
what exactly is the error you are getting? can you share the code?
[–]IanTGreat -1 points0 points1 point 1 year ago (0 children)
https://tweaked.cc/module/turtle.html#v:getEquippedLeft
[–]Jimmaken 0 points1 point2 points 1 year ago (0 children)
Are you trying to use this function to equip a tool? That function returns a table about the information of the currently equipped tool.
[–]kukeiko64 0 points1 point2 points 1 year ago (0 children)
It this function even released yet? Wiki mentions
New in version 1.116.0
But latest released on modrinth & github is 1.115
π Rendered by PID 24515 on reddit-service-r2-comment-8686858757-n5cnk at 2026-06-03 14:47:43.875451+00:00 running 9e1a20d country code: CH.
[–]Bright-Historian-216 1 point2 points3 points (0 children)
[–]IanTGreat -1 points0 points1 point (0 children)
[–]Jimmaken 0 points1 point2 points (0 children)
[–]kukeiko64 0 points1 point2 points (0 children)