(Multiplayer) How to make a Packet Handler for textfields in guis in Mcreator 2023.1?

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:
(Multiplayer) How to make a Packet Handler for textfields in guis in Mcreator 2023.1?

I need to spawn a missile entity at a x, y, and z coordinates, and this works by getting it from the gui textfields, however they return as empty on servers so I need a packet handler to sync the server and clients for the gui textfields.

I need a example for this in Mcreator I am not a coder but I can edit code to my needs If someone can show a Updated example for 2023.1 this would save a lot of my mods from being singleplayer only.