DataPack Filter Fix
Modby M0Maker
A mod that fixes the handling of the "filter" attribute in data packs
Description
Minecraft has data packs, which allow changing things like recipes without
writing a mod. In the data pack, you can set a filter property to remove
files from data packs that appear before it.
Consider this example. This should remove the non_existant_path from the
minecraft namespace and all the recipes from the non_existant_mod.
{
"pack": {
"description": {
"text": "Test pack to reproduce filter error"
},
"pack_format": 15
},
"filter": {
"block": [
{"namespace": "minecraft", "path": "non_existant_path"},
{"namespace": "non_existant_mod", "path": "recipes"}
]
}
}
However, in Vanilla, it will handle the namespaces and paths separately. This
will cause it to apply both path filters to both namespaces. So in reality, it
will remove all minecraft recipes too.
This mod fixes the handling of the filter attribute so it works as you'd
expect.
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Water Walking Fix (Forge)
Fixes the hitbox of flowing fluids and fluidlogged blocks for entities that can walk on them.
Flashback-Iris-SkyColorOverrideCompat
Flashback sky color override compat for IrisShaders.
Sails and Airships
Build a ship from blocks, click the helm, and sail it. Tow your cows, fire your cannons, cook dinner on the way. Include...
Unplugged AFK
The ability to "Go Green" by creating a bot to AFK in your place on a server.
Simple Metals: Aluminum
Simple Aluminum generation.
Dwarfs And Giants - Scale potions
Change the size of yourself and mobs using craftable potions. Large variety of sizes available!