Overlay elements not showing up correctly

Started by Dokneso on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Overlay elements not showing up correctly

I have an overlay that appears whenever the player has a clock in his inventory and that works correctly. I also have 2 images with their own display conditions. One is supposed to appear when it's day and the other when it's night. For some reason, he one that's supposed to be visible when it's daytime is always visible and the night one never appears. I seem to be unable to add images to I will write down these 2 short procedures in text.

Day condition:

if Is day in the provided world

   do Return logic: True

Return logic: False

Night condition:

if not Is day in the provided world

   do Return logic: True

Return logic: False

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If both those images are in…
Mon, 11/11/2024 - 15:07

If both those images are in the same item it could be because you aren't saying to change the image. 

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The 2 images are in one…
Mon, 11/11/2024 - 17:26

The 2 images are in one element but different overlay components. If that's not how you use components then IDK why they even exist.