Loading...

ComputerCraft - Back To Basics - Part 6 - If Statements

7,043 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Aug 27, 2012

If statements allow you to tailor your program to act differently based on conditions you set. Here are a couple of examples. First how you can check to see what kind of block is in front of your turtle. Second how you can see what items are given to a turtle through a transposer.

Spot the bug! There should have been a ruby left over in the turtle.
Spoiler: at the end turtle.drop(2) should have been turtle.drop(1)

Loading...

When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...