Alright, let's try another way: If you extend the BiomeGenerationSettings.Builder class, and add your own method that takes a structure supplier, i.e. something like this:
public static class Builder extends BiomeGenerationSettings.Builder {
public BiomeGenerationSettings.Builder withStructureSupplier(Supplier<StructureFeature<?, ?>> structure) {
this.structures.add(structure);
return this;
}
}
and then use this builder to create your biome instead. Does that work?