Apothic Attributes (AttributesLib)

Apothic Attributes (AttributesLib)

11M Downloads

Little Tooltip incompatibility with Quality Equipment

Kanekami opened this issue ยท 3 comments

commented

When reforging equipment the attribute modifiers from the quality are merged with the default attribute modifiers leaving a strange "When in main hand:"

With AttributesLib:
2024-06-23_12 10 55
2024-06-23_12 10 57

Without AttributesLib:
2024-06-23_12 13 19

Mods
Forge-47.3.0
Quality Equipment 1.3-forge-1.20.1 (Latest)
AttributesLib-1.20.1-1.3.5
Placebo-1.20.1-8.6.2

commented

There isn't much I can do to account for that since tooltip lines are not "owned" and cannot be identified as coming from any one mod. The best way for this to work nicely would be for Quality Equipment to utilize the apis provided by Apothic Attributes to properly (a) hide the tooltips from the main display and (b) add them after the normal tooltip block.

However, Quality Equipment is a closed source mod, so no further support will be provided here. You can ask them if they would like to implement such support. The relevant AA events are GatherSkippedAttributeTooltipsEvent and AddAttributeTooltipsEvent

commented

So you could tell the tooltips apart by the lack of a modifier translation key when doing component.toString and not remove them

commented

The quality equipment tooltips gather the text of the modifiers they own from the components, remove the original ones from above and add new literal components with the gathered text (gotten with component.getString)