Coding with Minecraft 2:
Events
LessonA:
Introduction to Events
EVENTS AND
HANDLERS
Configure an event handler to cause
something to happen by using the player
toolbox drawer. (Blue section with “Player”)
• Make flowers and then gold appear
wherever you walk.
• Modify the code so the effect of the event
changes
YELLOW BRICK
ROAD
The definition of an event and what it
can do in a computer program
Event programming in Microsoft MakeCode
To change our Minecraft world through coding
Further exploration into event
handlers and coding blocks.
Learn how events can be used
to trigger another event
Zombies!
• Create an event that starts with a
cake block being broken.
• Make parrots appear from a cake
using an event handler code
• Make more parrots appear using a
loop!
SING A SONG OF
SIXPENCE
CHALLENGE -
LAST STAND AT
THE ALAMO
LESSON C:
LINKING EVENTS
• Build a wall of glass using an event block.
• Use an event that makes a diamond
appear when a glass block breaks.
• Use an event that makes make orange
wool appear when ever diamond blocks
are broken.
LINKED WALL
LESSON C
WHAT WE LEARNED IN THIS
LESSON:
INDEPENDENT
PROJECT
PROGRAMMING
DIARY ENTRY
In your area of class notebook, under the
section “Minecraft Programming Diary”
Create a page called “Events” and answer
the following:
• What problem did you solve, or why did you
decide to create this project?
• What kind of event and event handler did you
decide to use?
• What does your program do? Describe how
your program works (what the cause and
effect are).
• Include at least one screenshot of your
program working.

Lesson 2 - Coding with Minecraft - Events.pptx

  • 1.
  • 2.
  • 5.
  • 6.
    Configure an eventhandler to cause something to happen by using the player toolbox drawer. (Blue section with “Player”) • Make flowers and then gold appear wherever you walk. • Modify the code so the effect of the event changes YELLOW BRICK ROAD
  • 8.
    The definition ofan event and what it can do in a computer program Event programming in Microsoft MakeCode To change our Minecraft world through coding
  • 9.
    Further exploration intoevent handlers and coding blocks. Learn how events can be used to trigger another event Zombies!
  • 13.
    • Create anevent that starts with a cake block being broken. • Make parrots appear from a cake using an event handler code • Make more parrots appear using a loop! SING A SONG OF SIXPENCE
  • 14.
  • 16.
  • 18.
    • Build awall of glass using an event block. • Use an event that makes a diamond appear when a glass block breaks. • Use an event that makes make orange wool appear when ever diamond blocks are broken. LINKED WALL
  • 19.
    LESSON C WHAT WELEARNED IN THIS LESSON:
  • 22.
  • 23.
    PROGRAMMING DIARY ENTRY In yourarea of class notebook, under the section “Minecraft Programming Diary” Create a page called “Events” and answer the following: • What problem did you solve, or why did you decide to create this project? • What kind of event and event handler did you decide to use? • What does your program do? Describe how your program works (what the cause and effect are). • Include at least one screenshot of your program working.