In Control!

In Control!

76M Downloads

Spawb at night

FeellianSinger opened this issue ยท 4 comments

commented

The question seems a bit stupid to me, since I have figured out most of the mod, I already understood how to spawn mobs in the structure, how to spawn them depending on certain player actions, but here's what I can't understand: How to make certain mobs spawn only at night? Version 1.20.1

commented

Use mintime/maxtime and deny to deny them during daytime

commented

Use mintime/maxtime and deny to deny them during daytime

Sorry, can you give me an example? I didn't find them in Wiki, and I don't quite understand where exactly they should be used. I mean, I don't even understand in which file, spawn or spawner. And it seems like conditions, and it seems like restrictions.

commented

This goes to spawn.json. But basically you need a rule like this:

{
  "mintime": ...,
  "maxtime": ...,
  "mob": ...,
  "result": "deny"
},

Fill in the ... I don't know what you want there

commented

Thank you. It remains to understand what numbers exactly need to be inserted to get the desired result.