Page 36 - Touchcode_C7_Flipbook
P. 36

Coding in Minecraft






                                                        To draw a rectangle

                   You can draw a rectangle in minecraft, by using the following blocks:





















                                                          To draw a square
                   You can draw a square in minecraft, by using the following blocks:















                   Blocks:

                       Agent place on move: Control which assists are enabled for
                       the agent. Assists are extra powers you give to the agent.

                       Repeat: Run part of the program the number of times you say.

                       Agent move forward by: Request the agent to move in a
                       certain direction.

                       Agent turn right: Turn the agent in a specific direction.

                       Agent teleport to player: Teleport the agent to the player.


                       Agent set active slot: Sets the agent’s active inventory slot.

                       Agent set block or item: Set some amount of blocks or
                       items in an inventory slot.


                   34     Touchcode-VII
   31   32   33   34   35   36   37   38   39   40   41