instead of using block entities to search for Ancient Debris, a filter function is used to search for all the Ancient Debris blocks in the chunk. This is a bit slower but fixes the issues of the compass not detecting blocks generated or added before the mod was added to the world.