added needet functions in tileentity