Texture Change with Day cycle

Started by Shrouded_Mist00 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Texture Change with Day cycle

So im making a mod that adds the stone Alexandrite to the game, and real Alexandrite turns red out of sunlight, so i was just wondering if its possible to make the texture change at night, ive tried making a animated texture thats 10 minutes long, but the animation only starts when you log in

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can use blockstates,…
Mon, 05/04/2026 - 21:36

You can use blockstates, change the texture based on a number nbt or data attached to the block. However this will mean it needs to be a block entity and that it needs to tick which causes lag if the block will spawn a lot.

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Otherwise change your…
Mon, 05/04/2026 - 21:36

Otherwise change your animated texture to start according to the time of day in which you spawn into a world in minecraft.

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't know if this would…
Mon, 05/11/2026 - 14:51

I don't know if this would help, but anyways:

you could (or not) use this thing:

I don't know how to detect or do something with textures without changing block (atleast for now and in MCreator) But theres an example procedure that i made for you to help:

i hope this would help your project!
(i'm not a pro so, sorry if that explanation is wrong or this example procedure)