Error when making my mob change texture

Started by GonzaloSurba on

Topic category: Help with modding (Java Edition)

Last seen on 11:37, 2. Nov 2023
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Error when making my mob change texture
Sun, 10/22/2023 - 12:01 (edited)

Good morning. I have created the following procedure, the idea is that when it is night time it executes the "dormir" animation and changes its texture to one in which it has its eyes closed. When it becomes night both actions are performed correctly, the problem is when returning to the day where the "sleeping" animation is removed but the texture is not changed and remains with the night texture instead of returning to the day texture. This is the procedure.

I also tried with an if else that if it was daytime it would change the texture to the daytime one but the only thing this does is that when night falls the texture is not changed to the nighttime one, it always stays with the daytime texture .

By the way, although I imagine it is taken for granted when seeing the images I use the GeckoLib plugin. I hope you can help me and thanks in advance.

Edited by GonzaloSurba on Sun, 10/22/2023 - 12:01
Last seen on 03:12, 8. Sep 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I can't help you: I don't…
Sun, 09/08/2024 - 03:11

I can't help you: I don't sees your procedures.

Last seen on 03:12, 8. Sep 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
*see.
Sun, 09/08/2024 - 03:13

*see.