MinecraftEdu World Library

Pixel Art Coding

Ages 7-18+
Published by MikeHarvey  •  Posted 1809 days ago
Pixel Art Coding is a computer science lesson. Together, students will invent a their own programming language and use it to encode and decode pixel art.
Technology > Computer Science - Programming
Average: 5 (1 vote)
World Details and Requirements
Created by: Mike Harvey
World version: 1.1
Supported MinecraftEdu Versions: 1.6.4
Tags: Pixel Art, Programming, Coding


Download World

Automatically download and install this map
using the MinecraftEdu Server Launcher. Learn more

You may also manually download the world from here

External Video: 
Intro Video

Before starting the server, work with your students to come to a common understanding of an invented coding language for re-creating pixel art.  At minimum, code for placing a block and the 4 directional moves should exist. Students could agree on a common language or break into groups and invent their own.  This can be guided by the teacher as much as is appropriate for the age group.

In the server, students should go through the following steps:

  1. Select a book from the first chest and remember the number.
  2. Use the first teleporter to go to the appropriate area.
  3. Type code for their pixel art.
  4. Sign the book.
  5. Return via pressure plate / command block to the starting area.
  6. Place the book in the appropriate chest.
  7. Select another finished book from a different chest.
  8. Obtain some building materials.
  9. Teleport again, to a different station.
  10. Create pixel art exactly as it is coded in the book.

Teachers will need to do the following:

  1. Select a cube-shaped area with the re-created pixel art.
    • First position is the space above the top left build allow block. 
    • Second position is the glass diagonally away from the bottom right build allow block.
    • Type //expand 9 up
    • Type //deform swap(y,z)
    • To easily move selection to adjacent creations, type //shift 10 (while facing east or west).
  2. Using build/fill tools, clear the qwartz block wall to reveal the original pixel art for comparison.
  3. Lead a debriefing/discussion of the activity.

NGSS 4-PS4-3. Generate and compare multiple solutions that use patterns to transfer information.* [Clarification Statement: Examples of
solutions could include drums sending coded information through sound waves, using a grid of 1’s and 0’s representing black and white to send information about a picture, and using Morse code to send text.]
PS4.C: Information Technologies and Instrumentation - Digitized information can be transmitted over long distances without significant degradation. High-tech devices, such as computers or cell phones, can receive and decode information—convert it from digitized form to voice—and vice versa. (4-PS4-3)



Could you use command blocks to store the command for individual area? That way you could have one command block to bring the creation up and one to bring it back down. That way students could inspect their creations without teacher interacting :)

I'd love for that capability, but I don't think it's possible. Command Blocks can't use worldedit commands. Can anyone think of a way around this?

Perhaps integrating with qCraft might do the job? The cover could be made of entangled blocks with an observer dependent block controlling the appearance/disappearance...

So what you're suggesting is that it's time I learned qCraft? Can it flip blocks in that way?