Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NBT tag filtering doesn't work on nested tags #217

Open
esvarc opened this issue Mar 2, 2024 · 2 comments
Open

NBT tag filtering doesn't work on nested tags #217

esvarc opened this issue Mar 2, 2024 · 2 comments
Assignees
Labels

Comments

@esvarc
Copy link

esvarc commented Mar 2, 2024

Bug description

Especially with Apotheosis tools and armors is not possible to filter items based on rarity. Apotheosis using nested tags:

{Damage:0,affix_data:{affixes:{*shortened ,rarity:"apotheosis:rare", shortened}shortened}

These filters never match

{affix_data:{rarity:"apotheosis:rare"}}

nor

{rarity:"apotheosis:rare"}

Some Apotheosis items having in NBT TAG after affix_data: some 1st levet tags, these can be matched by filter.

{apoth_rspawn:1b} - this is for chest loot
{apoth_boss:1b} - this is for Rare spawns dorp

but Apotheosis drop from mobs having only first type of tag and can be only filtered upon rarity, but seems that Pipez does inspect only 1st level of tag.

Minecraft version

1.20.1

Mod version

1.20.1-1.2.6

Mod loader and version

Forge 47.2.20

Steps to reproduce

Tehere is no error only filters based on NBT TAG with rarity:value doesn't work.

Expected behavior

NBT Filres should matchy anything in NBT TAG not only 1st level.

Log files

Not relevant, there is no error.

Screenshots

working filter is OK

not working is NOK

not wotrking is NOK

Here are TAGS

tags
@esvarc
Copy link
Author

esvarc commented Mar 2, 2024

Example of NTB TAG for Apotheosis item dropped from normal mob.

image

@esvarc
Copy link
Author

esvarc commented Mar 2, 2024

Just note, can be filtered without test for rarity just entering this filter

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants