PlayerExpCooldown
Description
This PR aims to add PlayerExpCooldownChangeEvent and correlating expression.
Target Minecraft Versions: any Requirements: none Related Issues: #5802
and tests please :)
Still would love to see tests for the expression!
How do you propose I do the tests for the expression?
Still would love to see tests for the expression!
How do you propose I do the tests for the expression?
Something similar to this, https://github.com/Efnilite/Skript/blob/38d855925ad17b20923080155bc42d1704cad56a/src/test/skript/junit/-EvtPiglinBarter.sk, you just try all the change modes and see if it changed correctly
So as expected, using the expressions on an EasyMock Player does not work and throws stack traces. Which I knew would happen from the get go and is why I didn't add it.