NBT tags not synced

Status
Duplicate
Issue description

My Entity NBT tags are not synced with client side and server side

i will show you how i found that

my mod has a Mana NBT tag for Players, It is displayed as Overlay on the screen

When i first join the world, default value always 0 normal

but if i disconnect and reconnect to the world with a value other than 0, lets say 15/100 Mana

the value will be shown 0 on Overlay, But the mana is still here, I even added a command which prints the value of Mana in chat, and yeah, the command prints 15 in chat, So this is a problem, PLUS, i cant still use my spells which cost 15 mana and they work, they consume the invisible mana

something sure i know, the server side mana in chat is the real one and the one on the overlay is client side one, This is problematic and they should be synced normally, well i fixed it with a custom code but you could fix it in MCreator too

If you are asking, I didnt do any error in entering NBT tag names, its alright everywhere

 

Issue comments

No this was added in the past snapshot, ticked I linked is from 2019, fixed in 1st 2020.4 snapshot. Please search next time.