import random,time
    
from mcpi.minecraft import Minecraft
mc=Minecraft.create()
x,y,z=mc.player.getTilePos()
while True:
    color=random.randrange(0,16)
    mc.setBlocks(x-100,y-1,z-100,x+100,y-1,z+100,95,color)
    time.sleep(1)

