How to check the day number in a procedure?

Started by KuzynOfficial2 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to check the day number in a procedure?

I want to check the day count for a procedure, is it possible

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can use theGet current…
Sat, 09/02/2023 - 15:16

You can use theGet current world time block and divide it by 24000 which is the amount of tics in a day. Round it down to get only complete day count. 

Small warning, I'm not sure but using /time command may screw up the day count. 

Ps. Using modulo will give you the amount of tics that passed, but only of the current day. 

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you show an image of…
Sun, 09/03/2023 - 08:17

Can you show an image of that? cuz I dont really understand