Lior Elazary KK6BWA

...because this life is yours. Some of it was given to you, the rest you make yourself.

  • Increase font size
  • Default font size
  • Decrease font size
Home

Minecraft Robot Programming - Instruction Set

E-mail Print PDF
Article Index
Minecraft Robot Programming
Robot Movement
Instruction Set
All Pages
<!-- @page { margin: 0.79in } P { margin-bottom: 0.08in } -->

Movement:

 

forward();

backward();

left();

right();

 

jumpForward();

jumpBackward();

jumpLeft();

jumpRight();

 

 

getReward();

 

Setting Blocks:

 

setBlock();

setBlockForward();

setBlockBackward();

setBlockRight();

setBlockLeft();

 

 

Loops:

repeat(<number of times>)

{

<instructions to repeat>

}

 

Function Template:

 

function <name> ()

{

<function body>

}

 

 

With Parameters:

 

function <name> (<param1>, <param2>, …. )

{

<function body>

}

 



Last Updated on Sunday, 07 October 2012 14:11