You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the only way to detect whether an item is being unequipped or equipped in a trinket slot is to have a Trinket attached to the itemstack that overrides onUnequip, or to manually keep track of all equipped items.
When adding effects based on an equipped item's components/nbt, attaching a Trinket to the stack might not be ideal or possible if the item is not owned by the mod. Adding an event similar to Curios' CurioChangedEvent, that fires any time an equipped item changes, would resolve this.
The text was updated successfully, but these errors were encountered:
Currently, the only way to detect whether an item is being unequipped or equipped in a trinket slot is to have a Trinket attached to the itemstack that overrides
onUnequip
, or to manually keep track of all equipped items.When adding effects based on an equipped item's components/nbt, attaching a Trinket to the stack might not be ideal or possible if the item is not owned by the mod. Adding an event similar to Curios' CurioChangedEvent, that fires any time an equipped item changes, would resolve this.
The text was updated successfully, but these errors were encountered: