How to get the day of the minecraft world.

Started by Endergamer20011 on

Topic category: Help with MCreator software

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to get the day of the minecraft world.

Hello ! I would like to get the current day in the world but I'm looking for and I can't find how to do it . Could someone help me?

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can do something like…
Tue, 10/12/2021 - 11:46

You can do something like this:

((Get current world time) MOD [24000])

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
or if what you mean is the…
Tue, 10/12/2021 - 23:05

or if what you mean is the Literal day, on World Tick Update

make it so every 24K ticks it sets Global Number Variable: Day_Number to Get Global:Day_Number + 1

and on your procedure, check Day Number =??

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
round_down(get_world_time…
Tue, 09/19/2023 - 07:00

round_down(get_world_time/24000) 

 

worked for me