I used Structure Block to save the obsidian pillar with the end crystal on it.
However, when I loaded that structure, it did not contain the end crystal.
I inspected the saved NBT and the end_crystal was not present in the palette and entities section.
See MC-205492