Jump to content

[1.12.2] How to sync NBT Tags between Client and Server?


Recommended Posts

Hey, I made a shield with an nbt tag (durability) that gives setMaxDamage() the new value which, works totally fine on Singleplayer but not on a Server somehow.
While the Client shows that the durability was updated(with Tooltip mod) it actually doesn't get updated on the server side and the shield breaks in few hits.
How do i sync them?


I Tried using readNBTShareTag() & getNBTShareTag() but don´t know how they work...






Link to comment
Share on other sites

This topic is now closed to further replies.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.