event happen at a specific time

Started by Steam_Master0 on

Topic category: Help with MCreator software

Joined Aug 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
event happen at a specific time

hello, i'm working on a mod, and i need to make an event (spawn a mob) at a specific time, i thought of making it something like "if tick=x do: spawn [mob]" but i have no idea how to do it, please help

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can try this if…
Tue, 08/26/2025 - 00:51

You can try this if statement:

if [get world time block] = (number = to time of day)

then

spawn entity (your custom entity)

Joined Aug 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i tried but no "=" block…
Tue, 08/26/2025 - 20:26

i tried but no "=" block lets me put in "get current world time" or "current hour of day"

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ah, give me a few mins, ill…
Sat, 08/30/2025 - 19:07

Ah, give me a few mins, ill take a quick look

 

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'll make a new project and…
Sat, 08/30/2025 - 19:10

I'll make a new project and i'll export the procedure for you

 

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you go into logic, then…
Sat, 08/30/2025 - 19:14

If you go into logic, then find the one that has 2 empty spaces and an = sign, the get curret world time will work with the dark blue one, not the lighter 1

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Here is the procedure: …
Sat, 08/30/2025 - 19:44

Here is the procedure: 

https://mega.nz/file/8XNC3a6Y#e0-jJkEvJuGseGokci8k031DIj2smOFkN0wlghiQgBM

I used mega as its the only file transfer system ik and it wouldn't let me put the exported procedure straight into mcreator forums.

If you don't wanna download the file, you can just use the advice i gave prior.

 

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Also if you need any help…
Sat, 08/30/2025 - 19:46

Also if you need any help with having the entity spawn in proximity to the player, then let me know. It may take me a bit to respond, i dont check mcreator too often

Joined Aug 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thanks a lot, really!
Wed, 09/03/2025 - 16:43

thanks a lot, really!