[Minecraft] ComputerCraft Turtle test

Channel:
Subscribers:
115
Published on ● Video Link: https://www.youtube.com/watch?v=MPlpXu7YcFI



Minecraft
Game:
Minecraft (2011)
Duration: 1:31
98 views
2


The code of chopper look primitive and inefficient, but at least it work well. I optimise it later.
Here, the full code:
print "Initialising..."
t = turtle
print "The Tree Feller program have been enabled."

--First
t.select(15)
t.forward()
t.turnRight()
if t.detect() then
t.dig()
t.forward()
end
while turtle.detectUp() == true do
turtle.digUp()
turtle.up()
end
while turtle.detectDown() == false do
turtle.down()
end
t.turnLeft()
t.turnLeft()
t.forward()
t.turnRight()
t.turnRight()
t.select(15)
t.place()
t.turnLeft()
t.forward()

--Second
t.select(15)
t.forward()
t.turnRight()
if t.detect() then
t.dig()
t.forward()
end
while turtle.detectUp() == true do
turtle.digUp()
turtle.up()
end
while turtle.detectDown() == false do
turtle.down()
end
t.turnLeft()
t.turnLeft()
t.forward()
t.turnRight()
t.turnRight()
t.select(15)
t.place()
t.turnLeft()
t.forward()

--Third
t.select(15)
t.forward()
t.turnRight()
if t.detect() then
t.dig()
t.forward()
end
while turtle.detectUp() == true do
turtle.digUp()
turtle.up()
end
while turtle.detectDown() == false do
turtle.down()
end
t.turnLeft()
t.turnLeft()
t.forward()
t.turnRight()
t.turnRight()
t.select(15)
t.place()
t.turnLeft()
t.forward()

t.turnRight()
t.forward()
t.forward()
t.forward()
t.forward()
t.turnRight()

--First
t.select(15)
t.forward()
t.turnRight()
if t.detect() then
t.dig()
t.forward()
end
while turtle.detectUp() == true do
turtle.digUp()
turtle.up()
end
while turtle.detectDown() == false do
turtle.down()
end
t.turnLeft()
t.turnLeft()
t.forward()
t.turnRight()
t.turnRight()
t.select(15)
t.place()
t.turnLeft()
t.forward()

--Second
t.select(15)
t.forward()
t.turnRight()
if t.detect() then
t.dig()
t.forward()
end
while turtle.detectUp() == true do
turtle.digUp()
turtle.up()
end
while turtle.detectDown() == false do
turtle.down()
end
t.turnLeft()
t.turnLeft()
t.forward()
t.turnRight()
t.turnRight()
t.select(15)
t.place()
t.turnLeft()
t.forward()

--Third
t.select(15)
t.forward()
t.turnRight()
if t.detect() then
t.dig()
t.forward()
end
while turtle.detectUp() == true do
turtle.digUp()
turtle.up()
end
while turtle.detectDown() == false do
turtle.down()
end
t.turnLeft()
t.turnLeft()
t.forward()
t.turnRight()
t.turnRight()
t.select(15)
t.place()
t.turnLeft()
t.forward()

t.forward()
t.forward()
t.forward()
t.forward()
t.turnRight()
t.forward()
t.forward()
t.forward()
t.forward()
t.turnRight()
print "Waiting new orders..." --end of chopper







Other Statistics

Minecraft Statistics For LongerBlade

There are 530 views in 7 videos for Minecraft. His channel published less than an hour of Minecraft content, or 25.72% of the total watchable video on LongerBlade's YouTube channel.