MobFilter

MobFilter

984 Downloads

Feature/Enhancement: Ability to block spawns that happen immediately at chunk generation

ninjakitty844 opened this issue ยท 1 comments

commented

This mod currently blocks random natural mob spawns that happen over time. It currently does not block spawns that happen during initial chunk generation. There may be a use case for only blocking natural spawns over time and not chunk gen spawns, in which case I think the player should have the choice to choose. (for example, if you want to block natural piglin spawns, but let them still spawn in bastions)

I have two ideas for how this could be executed (one or the other would work, not both at same time).

  1. Per rule, you specify (maybe in conditions?) whether you are targeting chunk gen spawns or random spawns. (both by default, unless otherwise specified)
  2. A global true/false option in the configuration file which would affect all your targeting to either include or not include chunk gen spawns. Something like "includeChunkGenerationSpawns: " which would be either true or false

And then regardless what is/isn't changed, a little documentation should be added in the default config to explain it so it is clear how this all works.

commented

should be working now courtesy of @ILikeFood971 . i opted to not bother with the config switch - i think most folks just want the rules to apply all the time.