mojira.dev
MC-253373

Resource filters do not apply to built-in worldgen

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.

Attachments

Comments 6

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.

Indeed, no files, nothing the filter's file search matches.

Was fixed in 22w42a when worldgen files came packaged in the vanilla datapack.

While true, still affects dimensions as they're not included as json files in the game jar.

Dimension files aren't used by the vanilla game at all, they use world presets.

Doesn't change the fact you can't filter-disable them.
Additionally, the nether and the end are always the same, regardless of world type selected.

MattiDragon

(Unassigned)

Unconfirmed

(Unassigned)

datapack, filter, worldgen

1.19

Retrieved