Generate a structure in another dimension using biome

Hello. I'm a total beginner with datapacks and I would need your help guys. I just try to generate a minecraft:desert_pyramid in biome : minecraft:the_end (to understand how it works). Could you please take a look at my datapack and correct it? I did it with https://misode.github.io/worldgen/structure/, but I can't locate any pyramids in the end with /locate. However, the pack is enabled on my test world.
Continue to help post