Turtle cutting down tree's?

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here

Ethan_r_Pro

New Member
Jul 29, 2019
3
0
0
Can anyone let me know how to get my turtle cut down tree's from the bottom up. i saw guude boulderfist have his turtle cut down 4x4 tree's (redwoods) from the bottom up. is it a built in program?
 

Mikey_R

New Member
Jul 29, 2019
382
0
0
It'll be either a program he made or it will be the one Sethbling made. Either way it isn't built into the turtle by default.
 

lukasni

New Member
Jul 29, 2019
19
0
0
Very simple bit of code. For 1x1 Trees you can use something like this:

Code:
turtle.dig()
turtle.forward()
 
while turtle.digUp() do
  turtle.up()
end
 
while turtle.down() do
end

For redwoods (2x2, don't know of any 4x4 trees)

Code:
local height = 0
 
turtle.dig()
turtle.forward()
turtle.dig()
 
while turtle.digUp() do
  turtle.up()
  turtle.dig()
  height = height + 1
end
 
turtle.turnRight()
turtle.dig()
turtle.forward()
turtle.turnLeft()
turtle.dig()
 
while height > 0 do
  height = height - 1
  turtle.digDown()
  turtle.down()
  turtle.dig()
end

Be aware that this code is untested, should work fine though. It's very crude and specific to the situation, but it will cot down trees for ya.
Make sure that your turtle has enough fuel and is capable of digging (Mining Turtle or similar). Place the turtle in front of the tree, for 2x2s on the left side. Then run the program.

EDIT: Forgot to decrease the height, fixed now. Don't want your turtle to dig to bedrock, right? =)
 

Ma55Murd3r

New Member
Jul 29, 2019
10
0
0
Since you sent that u prolly kno about Eject*****.com or the wilson one... he has his codes compiled there