Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 766 Bytes

rails.md

File metadata and controls

28 lines (24 loc) · 766 Bytes

@flyoutOnly true

@hideIteration true

@explicitHints true

Lay down some rails.

Step 1

Create an easier way to get between both towns by placing minecart rails through the tunnel.

~ tutorialhint

The ||hoc2020:place rail below|| block will place a rail under the Agent.
The ||hoc2020:agent move|| block will move the Agent in whatever direction you specify.
The ||hoc2020:turn agent|| block will turn the Agent either left or right.
The ||loops:repeat|| block will allow you to repeat a set of blocks multiple times.

for (let i = 0; i < 5; i++) {
    hoc2020.placeRails()
    hoc2020.moveAgent()
    hoc2020.turnAgent()  
}    
\\
hoc2020-ts=github:rewrite-media/hoc2020-ts