If you want to use Datapack's to generate a custom World you can use the following Methods to use them with the API.
Where to use those Methods:
DataPackResolver resolver = AdvancedWorldCreatorAPI.getDataPackResolver();
resolver.getStructureFeature...
resolver.getWorldGenFeature...
resolver.getBiome...
getStructureFeature(String prekey, String name)
Vanilla Examples: Stronghold, Fortress, Villages
Add to your Custom Biome with: addCustomWorldStructureFeature(StructureFeature)
getWorldGenFeature(String prekey, String name)
Vanilla Examples: Diamond-Ore, Jungle Tree, Flowers
Add to your Custom Biome with: addWorldGenDecorationFeature(WorldGenFeature)
getBiome(String prekey, String name)
Vanilla Examples: Plains, Desert, Ocean
Add to your Biome Generator with: addBiome(Biome<,...>)
The Prekey is the Namespace of a MinecraftKey. Vanilla-Default: 'minecraft'
The Name is the Key of a MinecraftKey. Vanilla-Default: 'Plains', 'Desert', 'spring_lava'
In Datapack's the Prekey is a part of the path to the configuration:
For example: world\datapacks\MyDatapack\data\custom_name\worldgen\biome\mycustom_datapack_biome.json
Prekey: custom_name
Name: mycustom_datapack_biome
If you have sub-folders in the specific folders you have to add them to the Name.
For example: world\datapacks\MyDatapack\data\custom_name\worldgen\biome\sub_one_folder\mycustom_datapack_biome.json
Prekey: custom_name
Name: sub_one_folder/mycustom_datapack_biome
getListedStructureFeatures()
getListedWorldGenFeature()
getListedBiomes()
They will return a List of MinecraftKey's, so for example you could add all listed GenFeatures with the MinecraftKey-Namespace as Prekey and the MinecraftKey-Key as Name.