Help with a textfield in a gui

Started by DARKeyPoo on

Topic category: Help with modding (Java Edition)

Last seen on 05:22, 23. Feb 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with a textfield in a gui

I have an iamge that I only want to show up if they have a specific item in inventory. I want this sword called "Jeblin Sword" to allow another item (Name irrelevant) should open a gui (kind of like a book) that should display an image of cursive writing that is a code to continue my story. I'm not sure how to make a procedure so that this image of text only shows up when I have this sword in the inventory. I still want the GUI to open with the item but go without the large body of text, as like a secret message imprinted in the GUI. Please help! lol

Last seen on 01:55, 3. May 2023
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hello. I need help with the…
Mon, 09/14/2020 - 10:21

Hello. I need help with the GUI and the TextField.
When I type text into the field in the single player version of the game, everything is fine, when I do the same on the server, the data is not visible, the variable from the TextField field seems to be empty. How do I make typing in this field visible in a multiplayer game?

Last seen on 01:55, 3. May 2023
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yet such a observation,…
Mon, 09/14/2020 - 12:08

Yet such a observation, trying to display the contents of the TextField in the chat has nothing, but with the "print" command the content is displayed to the console.