Homepage | Minecraft: Education Edition



3.MD.3 Lesson Plan Survival Olympics Bar Graphs New York Link World Link (See Attached)Opening Slideshow (See Attached)Objectives:Students will be able to build a clock that keeps times like a digital clock. (3.MD.1)Students will be able to explain 3 bases are used for time, hours are base twelve, minutes are in base 60 and the ones columns for the minutes are base 10. .(3.MD.1)Students will be able to add and subtract time.(3.MD.1)Students will be able to use impulse and repeat command blocks.Students will be able to use the testforblock and setblock command.Students will be able to copy and paste with a keyboardThe Big Idea: There is 60 minutes in an hour and 12 hours on a clock.Build the Clock Yourself Before Starting This LessonBefore you start this lesson, you should know that one of the reasons why this is such a fantastic lesson is that their are so many computer skills involved, however if you have a class new to computers they will learn a lot but move at a much slower pace. Teachers should definitely build a clock on their own so you can help with the troubleshooting and debugging that can come with any coding lesson. Don’t worry this is a pretty easy machine to make and what better way to learn about time than to build a clock. How to read the clockRight now the clock is changing 6:40 to 6:41. The block in the air on the right is falling into the ones column. The yellow lines represent a height of 5 and 10. These can be used to ask questions on rounding. Now the clock is showing 1:46. Use the yellow lines as a measuring stick for 5 and 10. Here is the clock at 12:59 Here it is again a moment later as it rolls over into 1 o’clock.For more on reading how to read the clock just watch the video.How the clock worksThere are 3 parts to this Minecraft clockThe Interface (the stacks of sand on the rightThe Code (the beige and blue command blocks on the left)The Ticking (the minecart track on the top)The Interface The interface is the part of the clock that the person looks at to see the time. In out clock it is the stacks of sand to build the interface just simple mark a place with sand for the 1’s and 10’s column for the minutes and a place for the hours as well. Put a colon between the hours and minutes. Once you have your interface build you will need to get the coordinates to clear your blocks and regroup, to do this make sure “show coordinates” is turned on in your settings and they will appear on the upper left hand corner of your screen. Simply stand on the sand and write down the coordinates.My x y z is -1 4 -71 yours will be different, if you are doing this with a 3r grade class make sure they are in positive quadrant of the world or just look for missing negatives while debugging.Now I have my coordinate for the bottom of the stack but I still need to know how tall my stack will be when regrouping. This is stack is the 1’s column and will flip back to 0 when it is 10 blocks tall, so I will build a sand stack 9 high and get the coordinates for where the 10th block will land. x y z = -1 13 -71Let’s look at these 2 coordinates-1 4 -71 and -1 13 -71 the first and last numbers are the same and the middle number rose by 9. So the middle number tells the height. Do the same thing for the 10’s minute and the hour column but remember that 10’s column is in base 60 and will flip on the 6th block and the hour column is in base 12 and will flip on the 12th block. Write down all 6 coordinatesHours 10’s 1,s-7 4 -71 -3 4 -71 1 4 -71-7 15 -71 -3 9 -71 1 13 -71Once you have this information you're ready to code the clock.Coding the GearsIn the picture you will see 3 horizontal lines, each line is the code for each column. The signal starts at the blue blocks on the right and travels to the left. We will use 2 kinds of command blocks for this code, repeat command blocks (blue) and implus command blocks beige. Inside the command block will be just 2 kinds of code testforblock and setblock.In the 1s column the 10th block on the stack will trigger the regrouping. So we will need use a testforblock x y z sand code in an “always active repeat command block”. Get a Command Block and Change From Impulse to RepeteTo do this hit slash and write the code /give @p command_block. Place it down and right click on it with the mouse and you will see this menu. Push on impulse and change it to repete Next change “Needs Redstone” to “Always Active”Type in “testforblock x y z sand” with your x y z on your top coordinate. TROUBLESHOOTING Make sure you turned on Always Active this is a common fix when debugging.Attach a redstone comparator and a repeater face a signal out of the command block when the command block finds sand and those coordinates This is what it looks like if the block tested sand on the coordinates given. The redstone comparator sends the signal out of the command block and the redstone repeater increases the signals power to reach command blocks further down the line.TROUBLESHOOTING often signals don’t travel because the comparator or repeater is facing the wrong way.The ClearThe clear is the set of implus command blocks that receive the signal from the testforblock command block. They will be filled with a setblock x y z air command starting with the coordinate for the top of the stack and ending with the coordinate on the bottom of the stack.My blocks will be filled with setblock 1 13 -71 airsetblock 1 12 -71 airsetblock 1 11 -71 airsetblock 1 10 -71 airsetblock 1 8 -71 airsetblock 1 7 -71 airsetblock 1 6 -71 airsetblock 1 5 -71 airsetblock 1 4 -71 airHave your students copy the command for the top block and paste it into each other block using “ctrl+v”. This makes things move faster because they only have to change the middle numbers.The DropThe drop is the code that sets the regrouping to the next place value and is the last beige block on the left. There are 3 redstone repeaters on full delay between the drop and the clear so the clock has time to show 0 before a new tick drops in from the ticker.The setblock code would use the coordinates for your 10’s column but from higher up so it drops into the problem. My code is “setblock 3 18 -71 sand”setblock x y z sandRepeat this process for the 10’s and hours columns but remember that the 10’s column switches at 6 and the hours column switches and 12.The TrashSometimes on the hours column not all the blocks clear as they were coded to, this happens because the sand was falling and command block was not able to place the air. No worries just put a delay like you did with the prop and recode the setblock x yz air to clean up the stack.The TickerTo make the Ticker simply build a minecart look with an activator rail attached to a setblock command. setblock x y z sand It should be set above your 1’s columnMine was setblock 1 18 -71 sandA good Ticker will be large enough not to send in any new sand until a 0:00 can be seen after 12:59. Lesson Plan With StudentsObserve the clock 15 minutesSimply set the clock running on a projector and have the students make observations about what is happening. Guild the students to figure out that the clock is read like a digital clock but with stacks of blocks instead of numbers. Ask questions likeWhat time is it?What time will it be in 5 minutesAbout what time is it? (round)How many blocks are in the 1’s, 10’s, and hours columns when it flips?How do you think the machine works?Students will take notes and make sketches in their notebooksBuild the Clock 40 minutesPut students into groups of 3 and have them enter their own flat world. Put one student on the each of the columnsStudent 1 will build and code the 1s columnStudent 2 will code the 10’s columnStudent 3 will code the Hours columnThey will work together to debug and watch the videos attached with this lesson to guild them with any help they might need. Debrief 10 minutes How many counting bases does 10 use? ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download