The Bug
Upon unlocking new recipes or changing dimensions with a player in the same dimension, the locator bar can sometimes temporarily be replaced by the experience bar, as if the player is gaining experience.
Steps to Reproduce
Ensure there is another player in the world in the same dimension.
For the recipe:
Run the following commands:
/advancement revoke @s everything
and/recipe take @s *
Give yourself an item such as a gold ingot:
/give @s gold_ingot
Notice that the locator bar gets replaced.
For travelling between dimensions:
Ensure there is another player in the Overworld. Travel to the Nether.
Travel back to the Overworld. Notice that the locator bar gets replaced.
Expected Results
The locator bar would not be replaced if the player is not gaining experience.
Attachments
Comments 11
as it’s not explicitly mentioned already; This is true for advancements with rewards.function
which causes the locator bar to be very unreliable if you have datapacks that trigger on events.
Can confirm advancements with reward functions hide the bar as well, making mapmaking around the feature very hard.
Additional information to my 9s video:
I have an inventory_changed advancement that does nothing, but it’s what’s hiding the locator bar
Whenever the player gets an achievement, the experience amount is added. Even if this is 0, it is still 'added', marked to sync, then also accepted as a waypoint update by the client. This issue is very important as datapacks with tick functions will disable the locator bar entirely. Can confirm latest snapshot.
Can confirm.