How to make a packet system for textfields in guis

Started by CBJaxxx on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 months ago
Joined Mar 2023
Points:
467

User statistics:

  • Modifications: 0
  • Forum topics: 35
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 70
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 :( .