Make DataHolder interface for getData() and apply it to BlockLock and Entity.