Describe the bug
When the Linear XP mod is used alongside Extra Alchemy, potion rings' experience cost does not work as expected. The exact result seems to depend on how much experience the player already has; at some levels, the player will gain experience instead of using it, at other levels, the player will lose experience, and at others the rings will not drain any experience.
To Reproduce
Steps to reproduce the behavior:
Install Extra Alchemy with Linear XP
Enter a world and run /xp set @s 1 levels, then /xp set @s 1 levels
Obtain a potion ring; I used Ring of Speed I for this test
Activate the ring. The player will drop to about 75% of a level.
Cause the ring to trigger again by waiting until the effect times out, or removing it with milk or /effect clear.
The player will now have a little over 3 levels.
Step 5 can be repeated as many times as desired. When starting at 1 level with 0 points, using a Ring of Speed I, the player's level will eventually settle at a bit over 13, at which point the ring no longer affects experience at all.
Expected behavior
The player loses experience at a consistent rate. Since Linear XP makes every level worth the same amount of experience, the player should theoretically see the bar decreasing at a consistent speed regardless of level.
This seems like an issue with the linear xp mod. I'm removing XP like everything else does.
The mod doesn't seem to be open source, there is no way I can try to understand how it affects minecraft.
Describe the bug When the Linear XP mod is used alongside Extra Alchemy, potion rings' experience cost does not work as expected. The exact result seems to depend on how much experience the player already has; at some levels, the player will gain experience instead of using it, at other levels, the player will lose experience, and at others the rings will not drain any experience.
To Reproduce Steps to reproduce the behavior:
/xp set @s 1 levels
, then/xp set @s 1 levels
/effect clear
.Expected behavior The player loses experience at a consistent rate. Since Linear XP makes every level worth the same amount of experience, the player should theoretically see the bar decreasing at a consistent speed regardless of level.
Recording https://user-images.githubusercontent.com/49110090/187188973-47692018-72cb-4a13-bf4f-a3478ccad0a6.mp4
Pastebin links
Environment (please complete the following information):