Okay this is going to be a quick video to show you how to have your agent build a wall so the first thing that we’re going to do is we’re going to enter the coding window by pressing C here’s my coding window you’ll see I have two Codes here one is a teleporter code that when I type in TP into the text window it will teleport the agent to me and then this is the second one called wall and when I type wall into the texting window it will have the agent build a Wall so the first thing that it does is it sets to true the fact that the agent will place blocks when it moves so any time it moves it’ll place a block and then in this loop here I have four pieces of code so first is that it’ll Move forward by 15 blocks so it’ll move four or 15 times each time placing a block then it will move up one placing a block below it then it will turn around so it’ll turn 180 degrees by this using the left turn twice and then it will Repeat that so it’ll come back 15 go up turn around and continue that so this will help our agent to build a wall 15 blocks long by 10 blocks high alright let’s check out how this works so the first thing I’m gonna do is hit T And teleport my agent to me I’m gonna back up so that you can see him there he is and I need to hit E and take some piece of equipment so like a block here so I have spruce wood planks here and I need to go back into my agent here and I Need to make sure that he has blocks in his inventory if he doesn’t he will attempt to build but will be able to build anything as soon as I’ve done that I can type T and type the word wall and he will start developed and you can see that he is building He goes he goes back and forth goes up and continues to build okay so this is actually a very fast way for you to build a wall it’s very precise it will only on the wall out of one material unless you codn’t to change materials as it goes that’s it you Video Information
This video, titled ‘Minecraft Education Edition – Coding a Wall’, was uploaded by Rob Heinrichs on 2020-03-13 01:58:11. It has garnered 3205 views and 27 likes. The duration of the video is 00:02:46 or 166 seconds.
Ever wondered how to build a wall with you Agent in Minecraft? Here’s how. #Minecraft #PlayCraftLearn #SD43