#Introducing new filter to metadata breaks path regex

1 messages · Page 1 of 1 (latest)

nimble aspen
#

So, here is my datapack metadata:

{
    "pack": {
        "pack_format": 48,
        "description": "Integration datapack for Mekanism Energistics"
    },
    "filter": {
        "block": [
            {
                "namespace": "mekanismadditions",
                "path": "^recipes?\/balloon(\/recolor)?\/((?!painting).)*$"
            },
            {
                "namespace": "enderio",
                "path": "recipes?\/.*"
            }
        ]
    }
}

At first I only had first filter for mekanismadditions and it worked fine, but after I added enderio one it removed ALL of mekanismadditions crafts, which shouldn't happen
Am I doing something wrong or is it a bug?

twin geyserBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

🙇 If nobody has answered you by <t:1742423679:t>, feel free to use the Summon Helpers button to ping our helper team.

✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve

fading barn
#

you can't ues regex

#

only direct paths

nimble aspen
#

why? every wiki says i can, and it works in practice

fading barn
#

?

#

where does it say that?

nimble aspen
#

also, even direct paths doesn't work if i add second filter, so this is unrelated

nimble aspen
#
Minecraft Wiki

The data pack system provides a way for players to further customize their Minecraft experience. Data packs can be used to override or add new advancements, dimensions, functions, loot tables, predicates, item modifiers, recipes, structures, tags, damage types, world generation settings, and biomes without any code modification.

fading barn
#

nevermind then

#

I assume your poblem has something to do how the mod loader handles that. Normally this shouldn't happen.

nimble aspen
#

or you are talking about mod or method that it gets loaded?

fading barn
#

The mod loader (Forge/Fabric/etc.) or any mods you might have installed.

nimble aspen
#

i will test this in vanilla rq

nimble aspen