Started by
Owls_Parliament
on
Topic category: Help with Minecraft modding (Java Edition)
I'm getting an error on one of my mods that reads "Block entity_nbt_num_get is not synced between client and server automatically, which means it may not work properly in some cases" and I think someone online who downloaded my mod has encountered such an case. Does anyone know how to ensure this is synced between client and server correctly and to prevent the error from showing up (or at least affecting gameplay)?
Edited by Owls_Parliament on Mon, 10/06/2025 - 15:45
Perhaps I misunderstood what it says in a previous section about being synced to the client. I perhaps interpreted that to mean instead of the server, but I guess I misunderstood. Either way, it seems like that is the culprit, but why, I don't know. If the crash persists, then it's the nbt number value attached to the player instead, but why it would be the problem in either case, I'm not sure. The actual way it manifests suggests that it's the global variable, not the nbt value. That's the part that seems to be going wrong in the procedures, anyway.
This is normal; it is not synced.
Use synced entity data instead
Apologies, but what is synced entity data? To what does that refer? Is that a procedure block, or a system of MCreator with which I am unfamiliar?
Duplicate of https://mcreator.net/forum/112921/how-does-synced-data-work