Started by
Atten007
on
Topic category: Help with Minecraft modding (Java Edition)
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 :)
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!
Thanks, I’ll try it later!
i know this post is old, but i have to ask!
did the procedure work?