NBT tag filtering doesn't work on nested tags
esvarc opened this issue ยท 2 comments
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
Here are TAGS