Started by
Dokneso
on
Topic category: Help with Minecraft modding (Java Edition)
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
If both those images are in the same item it could be because you aren't saying to change the image.
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.