Pipez

Pipez

31M Downloads

Unable to filter apotheosis rarity items in 1.21.1

Closed this issue ยท 1 comments

commented

Bug description

Apotheosis' old data structure would look something like this
{affix_data:{rarity:"apotheosis:common"}} {affix_data:{rarity:"apotheosis:uncommon"}} {affix_data:{rarity:"apotheosis:rare"}} {affix_data:{rarity:"apotheosis:epic"}} {affix_data:{rarity:"apotheosis:mythic"}}

Now, it looks like this:
{"apotheosis:rarity":"apotheosis:common"} {"apotheosis:rarity":"apotheosis:uncommon"} {"apotheosis:rarity":"apotheosis:rare"} {"apotheosis:rarity":"apotheosis:epic"} {"apotheosis:rarity":"apotheosis:mythic"}

But, filtering with that doesn't do much. Here's a copy of the NBT data from affix iron sword.

{"apotheosis:affix_name":{color:"#5555FF",translate:"misc.apotheosis.affix_name.three",with:[{translate:"affix.apotheosis:melee/mob_effect/elusive"},{"":""},{translate:"affix.apotheosis:melee/mob_effect/weakening.suffix"}]},"apotheosis:affixes":{"apotheosis:melee/attribute/intricate":0.2545926f,"apotheosis:melee/attribute/piercing":0.0017923713f,"apotheosis:melee/mob_effect/elusive":0.4473439f,"apotheosis:melee/mob_effect/weakening":0.9008255f},"apotheosis:durability_bonus":0.23988333f,"apotheosis:from_chest":1b,"apotheosis:from_mob":1b,"apotheosis:rarity":"apotheosis:rare","apotheosis:sockets":3}

Is this a bug or an error on my part?

Minecraft version

1.21.1

Mod version

1.21.1-1.2.19

Mod loader and version

Neoforge - 21.1.90

Steps to reproduce

Enter the filter above
nothing happens

Expected behavior

It should filter based off of rarity.

Log files

https://gist.github.com/doggoboiwastaken/77c9a7d3cad81111f65992b5538e74d1.js

Screenshots

2024-12-27_21 54 58

commented

Nevermind, "exact nbt data" was enabled. Apolocheese.