Scoreboard flickering

Why when I set or update scoreboard, It not smooth. It’s flickering.

p.setScoreboard(scoreboard);

How can I set or update scoreboard without flickering in sponge 8.0 ?

in sponge 7.0 (1.12.2) not flickering.

Please help me.

setScoreboard will essentially replace the current scoreboard with the new. This gives a flick effect on all minecraft versions (maybe never noticed it on your 1.12.2 client?)

Anyway. To properly update a scoreboard. Get the Objective you wish to update and then set the new score on the objective and as long as the objective is still registered to the scoreboard then it will update without flicking

https://jd.spongepowered.org/spongeapi/8.0.0/org/spongepowered/api/scoreboard/Score.html#setScore(int)

1 Like

Thank for you care! I’ll try to fix it.