NOTE: #1181 does not fix this issue, but I can't figure out how to unlink it.
Modloader
Fabric
Minecraft version
1.21.1
Hex Casting version
0.12.0 [dev]
Issue description
Equipping or unequipping the scrying lens on Fabric 1.21 displays the following error in the log:

Applying or clearing the clarity or clouding effect does the same thing, but only for the grid_zoom attribute.
Furthermore, any attempt to pause the game after doing the above will cause a crash, with the following message:

All of this implies that hex's custom entity attributes are not being properly registered. Notably, the tooltip on the scrying lens listing its attribute modifiers does work, so the actual issue may have something to do with linking the attributes to the player entity rather than creating them in the first place.
Full game log can be found here: https://mclo.gs/hJ9jBDV
Steps to reproduce
- Hold/equip scrying lens, or drink a clarity potion
- Observe log errors
- Observe that grid zoom is unchanged, and scry sight does not work
- Attempt to pause the game
- Observe crash
NOTE: #1181 does not fix this issue, but I can't figure out how to unlink it.
Modloader
Fabric
Minecraft version
1.21.1
Hex Casting version
0.12.0 [dev]
Issue description
Equipping or unequipping the scrying lens on Fabric 1.21 displays the following error in the log:


Applying or clearing the clarity or clouding effect does the same thing, but only for the
grid_zoomattribute.Furthermore, any attempt to pause the game after doing the above will cause a crash, with the following message:
All of this implies that hex's custom entity attributes are not being properly registered. Notably, the tooltip on the scrying lens listing its attribute modifiers does work, so the actual issue may have something to do with linking the attributes to the player entity rather than creating them in the first place.
Full game log can be found here: https://mclo.gs/hJ9jBDV
Steps to reproduce