How to change an image displayed in a GUI

Started by yhfrag on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to change an image displayed in a GUI

How would i go about changing the image in a gui

Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Do you mean an image in…
Sat, 10/19/2019 - 15:29

Do you mean an image in custom GUI?

When in the GUI mod element: Simply press the button on the left to add an image. (Make sure its twice as big as it should be: 16x16 should by 32x32) as the pictures sized are resized to half the size. It allows you to select any image from your pc.

Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I know this, i'm asking if…
Sat, 10/19/2019 - 16:07

I know this, i'm asking if theres a way to change the image in the GUI with procedures

Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You don't need to change the…
Sat, 10/19/2019 - 16:39

You don't need to change the image. You just need to show a different image based on a different condition. An example:

https://www.youtube.com/watch?v=nDoclprdfV0&t=0s

For example:

If biome temperature < 0 (show image of ice at 0,0,0 screencoordinates)

If biome temperature >= 0 (show image of fire at 0,0,0 screencoordinates)

 

Joined Dec 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
  hello, can I change the…
Tue, 12/08/2020 - 21:14

 

hello, can I change the image in a gui with one condition because this functionality is offered in the gui editor but apart from the "always" option there is no other choice ??