register tileentity and call doWork.