A small mod that fixed experience bug after teleporting across dimensions, also fix other issue when you teleport between dimensions (MC-124177). So small that you don't even need FabricAPI!
You can test if this mod working properly by creating a superflat world, fly or teleport to world height limit (if needed place a block there) then execute these sequence of commands:
/effect give @p minecraft:night_vision 99999 1 true/execute in the_nether run tp @s ~ 10 ~/execute in overworld run tp @s ~ 10 ~Note: This mod should work with any version newer than 1.18.
As the name suggest, you can use/do whatever you want with the mod... Add it to your modpacks or something, go ahead... It's also not opt-out from third party distribution, that should helps your players a bit from CurseForge's hell. Also check out my other mods while you're at it, that's more than enough to "support" me