1.3 changed quite a few things, especially reworking the anvil costs.
This will make sure it'll use the new formula and it also mitigates the side effects of using addExperience (which affects the player's score and the XP scoreboard criterion).
For anyone else reading: I've went ahead and made an inofficial build (for Minecraft 1.17 and 1.18) for the meantime.
P.S.
Not sure why but JitPack failed when setting the target version to 1.3, it built it, just couldn't find the artifacts - using the commit hash instead worked without a flaw, weird.
1.3 changed quite a few things, especially reworking the anvil costs. This will make sure it'll use the new formula and it also mitigates the side effects of using
addExperience
(which affects the player's score and theXP
scoreboard criterion).For anyone else reading: I've went ahead and made an inofficial build (for Minecraft 1.17 and 1.18) for the meantime.
P.S. Not sure why but JitPack failed when setting the target version to
1.3
, it built it, just couldn't find the artifacts - using the commit hash instead worked without a flaw, weird.