I made a structure with my mod. It had a mob spawner and a chest too. There was a mob in the spawner and some items in the chest.
I made the structure spawn in a biome and when I found it in runclient the chest was filled with items, there was the mob in the mob spawner and everything was working fine.
I exported my mod and tested it using a few other mods (that don't modify structure gen). I found the structure but both the mob spawner and the chest were empty.
I think that this is caused by mod conflict, I will later check the structure without using other mods.
(Sorry for bad English)
EDIT: It seems that no custom blocks, items in chests and mobs spawn, so this bug is not just for items in chests but for everything modded. It also happens when the mod that adds the structure is alone.
Issue comments
I tried to find a structure of RaolCraft Omega and no modded blocks placed, items in chests and mobs in mob spawner spawned. Non-modded blocks/items/mobs spawned. So the bug is that modded stuff does not generate after exporting mods. I have tried it with both RaolCraft Omega with other mods and RaolCraft Omega alone.
Now I will add the jar file to the description.
To find that structure you need to make a portal of "Frostbricks" and ignite it using the igniter "Scepter of the Eternal Cold". It is the only structure that spawns in that dimension and it is not very hard to find. If you go in spectator mode it should be even easier.
(Sorry for bad English)
More information: instead of normally generating structures, I put an entity in a structure file and make this entity despawn and spawn a structure on a tick update. This avoids structures being cut in half due to generating in chucks that haven't been created.
My structures now spawn only blocks that are vanilla and generate air where modded blocks should be.
Would you mind giving the .jar file of the mod and instructions on how to spawn your structure so I can test this myself? Thanks!