Every block that is part of your structure should know where in that structure it is, relative to the center, and when it breaks, it should notify the center.
https://github.com/Draco18s/ReasonableRealism/blob/1.14.4/src/main/java/com/draco18s/harderores/block/WindvaneBlock.java#L72