Image Display Condition GUI

Started by amdre on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Image Display Condition GUI

That should be working in this example https://i.imgur.com/U2c5bvq.png / https://i.imgur.com/rXJPChF.png

The image is not showing up, i already did with some global variables in another procedure and the image appears but blinking(like too much)
Am I missing something ? I read some similar posts here as well but nothing helps

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is how it works. If you…
Sun, 01/22/2023 - 14:33

This is how it works.

If you are trying to find an item in the players inventory use the "get a copy of item in slot () of event/target entity" = "Item", slot 0 will always be the furthest left on the hotbar. It didnt like me putting the links to the screenshots so you will have to manually paste them if the images below do not show.

imgur.com/a/jblZ0qy

imgur.com/a/5XtIeDb

imgur.com/W3QCWY1

Procedure
Procedure
Without the item
Without the item
With the item
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For the specific slot you…
Sun, 01/22/2023 - 14:34

For the specific slot you are looking for
Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What I actually want is get…
Sun, 01/22/2023 - 15:01

What I actually want is get the item in the slot 0 from the GUI that I just open. You code looks like from the hotbar. About my condition I already tested it in a player tick update sending me a log and it works, but for some reason when I called by the display condition nothing happens. And I cannot fit "event target  entity" into "get a copy of item from slot 0 of event target entity if it has inventory" simple doesn't fit.