Fabric Waystones

Fabric Waystones

16M Downloads

Experience Consuming Can't Display Correctly in version fabric-2.4.1

Slarper opened this issue ยท 6 comments

commented

As we all know, in Survival Mode, every teleport consumes 1 level.
But there is a bug that when you succeed to a teleport, the experience bar on the Client screen DOESN'T CHANGE, though actually it changes on Server and doesn't correctly display on Client until another update on the experience bar occurs, like absorbing an experience ball.
So I guess that you need an update on the experience bar after your teleport code being executed.

commented

By the way, the minecraft version is 1.18.1.

commented

I have seen the latest.log, but the Client doesn't print anything so I can't find the exact reason.

commented

how to add this issue a tag?

commented

Mincraft Version: 1.18.1
Fabric api version: 0.46.1
Mod version: 2.4.1

commented

This is a vanilla Minecraft issue.
https://bugs.mojang.com/browse/MC-124177
I had a fix for it in the older versions when I was using my own teleport system.
I recently changed to using the Fabric API's teleport system, which fixes a lot of other desync issues.
I will not be fixing this on my end, and instead I'll either open an issue or PR in the Fabric API.

commented

My bad, the original issue is for between different dimensions. Fabric dimensions API does fix that.
This issue is not related to that. I've fixed it and will be releasing an update on CF shortly.