Help with a image in a gui

Started by DARKeyPoo on Sat, 09/12/2020 - 23:16

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:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Help with a image in a gui
Sat, 09/12/2020 - 23:16

I have an image 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 05:29, 31. Jan 2022
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
you can't do conditional gui…
Sun, 09/13/2020 - 13:58

you can't do conditional gui components with the mcreator graphical interface, what you ask for can only be done by manually modifying your gui source code.

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
got it
Tue, 09/15/2020 - 00:22

got it