It appears that resource filters in `pack.mcmeta` do not apply to build in worldgen. They do appear to apply if the worldgen files is loaded from a datapack. It also appears that they apply to all other files referenced from a file they apply based on analyzing calls to the checks in code. I have attached a simple datapack that should disable the minecraft:villages
structure_set
, but doesn't since it isn't loaded from a datapack.
Vanilla world generation isn't part of the vanilla datapack (unlike vanilla loot tables etc), so I believe that extending the Resource Filters feature to support filtering out vanilla worldgen would be considered a feature request.