Topic category: Help with modding (Java Edition)
Hi, I just picked up this editor and have watched a couple tutorial videos. The objective I have is really simple but I can't see a way to implement it. I just want to spawn mobs on the surface, but only at night.
I think I can assign the Mob Spawning Type attribute to "creature" to have it spawn on the surface, but I see no way to check for the time of day _before_ the mob spawns.
I can't use the regular "Mob" for Mob Spawning Type because I don't want this mob to spawn underground.
I don't want to have the mob check for the time of day in one of its own behaviors because this would be bad for performance.
Can anyone recommend a solution?
Thank you in advance!