new_contents: # Build a 16 x 16 grid of all the available block types up to block ID 255
  
  # import modules
  import mcpi.minecraft as minecraft
  from time import sleep
  
  # connect python to minecraft
  mc = minecraft.Minecraft.create()
  
  # create variables for blocks and counts
  air = 0
  stone = 1
  dirt = 3
  block_id = 0
  z = 0
  
  # clear area in middle of map and move player there
  mc.setBlocks(-60, -1, -60, 60, -1, 60, stone)
  mc.setBlocks(-60, -2, -60, 60, -2, 60, stone)
  mc.player.setPos(-3, 0, 0)
  
  print("Starting...")
  mc.postToChat("Starting...")
  
  while block_id < 256:
      for x in range(0, 16):
          print (x, 0, z, block_id)
          mc.setBlock(x, 0, 7, block_id)
          block_id = block_id + 1
          time.sleep(0.1)
      z = z + 1
  
  mc.postToChat("Finished")
  print("Finished")
  
subject: create a block matrix