Unless you cycle through all world types and get back to the Default world type, a datapack's modifications to the Default world type will be ignored.
To Reproduce
Download the attached datapack. It overrides the Default world preset so that the Deep Dark is the only biome that generates in the Overworld.
Without cycling through the world types, create a new world with the datapack enabled. Observe that the settings in the world preset file are ignored.
After cycling through all of the world types until you get back to the Default world type, create a second new world with the datapack enabled. Observe that the settings in the world preset file are respected.
Additional Info
Upon further research, it appears that this bug was temporarily fixed in 23w07a. It was then reintroduced in 1.19.4 pre-release 1.
Attachments
Comments 4
I can't replicate it anymore. Checked some earlier releases, it appears to have been fixed at some point in between 1.21.1 and 1.21.2.
A similar bug also occurs for non-default presets if you select the world type before adding the datapack in the Select Data Packs screen. AFAICT you must select a world type after adding a datapack for a custom preset to be used.