you can sleep and wake up at specified condition, and add transformer EntityPlayer.