How to make a packet system for textfields in guis

Started by CBJaxxx on

Topic category: Help with modding (Java Edition)

Last seen on 18:53, 12. Jan 2024
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a packet system for textfields in guis

can someone help me make a packet system to sync the x, y, and z textfields in my missile launch gui.

I wanted to make a missile system for my server, but my mod only works in singleplayer and I really really want to fix that.

as some people know textfields don't work on servers without packet systems. I am a noob I will admit that I don't know java code, but I can copy paste and edit code if someone were to help me with this. I know there are a few things I would need like a custom element and maybe some variables for the textfields, so if someone could help me out with this it would make my day because I don't know how else I would make my mod work on multiplayer if Mcreator won't implement the packet system in themselves.

PLEASE HELP, I'm going insane :( .