Creature spawning at different times

Started by Atten007 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Creature spawning at different times

Hello folks,

I'm currently working on the 1.20.1 update for my Minecraft mod. Recently, I got the idea that some Pokemon types in my mod can only spawn at a specific time, for example the "Dark" or the "Ghost" types can only spawn at midnight and night. But unfortunately, I don't know how I can implement the spawning times system into my mod. Is it possible to do it with some procedures? Can someone help me with this?

Greetings,

Atten :)

Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Heya!  Step one:  Go into…
Tue, 08/22/2023 - 09:34

Heya! 

Step one:  Go into the Spawning menu when making/editing your custom living entity and click the green [+] icon in the 'Natural entity spawning condition' box at the bottom. 

(this will determine the specific conditions for spawning the entity)

https://imgur.com/j8kgJ3Q  <---  here's an image link for clarity.

 

Step Two: The Create the procedure as follows:

https://imgur.com/AJmP7AK <--- Procedure

 

If you want a creature to spawn at day, Just take away the [Not] block and it should work :)

Hope this helps!

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks, I’ll try it later!
Tue, 08/22/2023 - 17:32

Thanks, I’ll try it later!

Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i know this post is old, but…
Fri, 01/12/2024 - 22:16

i know this post is old, but i have to ask!


did the procedure work?