Not sure if bug - GUI text desync

Started by Lofty on

Topic category: Help with MCreator software

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Not sure if bug - GUI text desync

Hello friends.

I have been researching forum topics involving syncing text field GUI to server.
During my testing, I discovered strange behavior:

This is the (unfinished) GUI that I am using to set the address on a stamp.
After reading the many forum topics about GUI sync to server for text field, my understanding is that there is not a sync by default.
However, when I set the NBT on the item using this GUI, this happens:

This appears to have successfully set the NBT of the item in my hand (client-side only?) to the text in the text field from the GUI (also client-side only?).
Debugging the value at the server level with chat output reveals this instead:

As far as the server is concerned, the text field in the GUI was blank, and the NBT on the item in my hand is using the appropriate default value "No Address Set" instead.
My best guess is that there is a bug involving setting the NBT of an item in a player's hand, which takes place clientside and does not touch the server? It is a weird thing.

Here is the procedure I am using to replicate this bug on a test server:

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Been having issues with this…
Sat, 04/06/2024 - 02:25

Been having issues with this too, it seems text fields just dont work properly in multiplayer.