Help with a procedure that happens on a certain date. (2021.3 Reupload)

Started by 1Sldiru on

Topic category: Help with modding (Java Edition)

Last seen on 00:54, 25. May 2022
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with a procedure that happens on a certain date. (2021.3 Reupload)

So I want to make a procedure that happens on a certain day of any year. I went for the if:do blocks but I can't link the blocks to them. What can I do?

Date: (any year), January, day 14

What I want the procedure to do is procedure checks the date to see if it is January 14 of any given year and if it is that day it will crash the game due to an attempt of dividing 0/0.

Last seen on 20:38, 16. Sep 2023
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Your procedure should look…
Sun, 12/26/2021 - 00:52

screen

Your procedure should look like this

Client starts without error
In the variable month, for some reason, the actual number changes to -1. But this does not prevent us from using the requested value as the current month -1. Thus, we simply check if the current month is = 0

Last seen on 20:38, 16. Sep 2023
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Your procedure should look…
Sun, 12/26/2021 - 00:57

Your procedure should look like this

Client starts without error
In the variable month, for some reason, the actual number changes to -1. But this does not prevent us from using the requested value as the current month -1. Thus, we simply check if the current month is = 0