Add getData(Class<T> dataClass) to BlockState for getting TE data.