mt-mods / plantlife_modpack

Other
6 stars 11 forks source link

things spawning in protected areas #40

Open fluxionary opened 1 year ago

fluxionary commented 1 year ago

both fruit bushes and poison ivy spawn in players protected areas, to players chagrin. ideally there'd be a way for players to toggle that behavior for their own areas, but until that happens, perhaps we should create a way for server owners to toggle that behavior instead? i'd be happy to write something up if the idea is well accepted.

S-S-X commented 1 year ago

Good to remember that there's special properties for things that spawn and players can learn those and use those to control spawning. That way it is more like simulation where player can create unfavorable or favorable environment for specific things.

There should be server configuration anyway to allow or disallow per area / protection configuration.

I think this could go to biome_lib configuration to allow configuring either generic spawner behavior per server or even per thing that has registered spawner. Like for example config:

# Allow disabling / allow per protection something like this:
biome_lib.protection_disable_active_spawners = true
biome_lib.self_protect_active_spawners = priv_to_adjust_how_nature_works

# Server wide configuration possibly even this:
biome_lib.protection_disable_active_spawners = poisonivy:seedling something:else

Not sure if this is really possible as it depends a lot on how consistent API usage is. If it is not consistent then probably outcome will be to make it configurable here and accept technical debt.

wsor4035 commented 1 year ago

just popping in to say rm -rf biome_lib for its numerous issues

fluxionary commented 1 year ago

just popping in to say rm -rf biome_lib for its numerous issues

is this actually a biome_lib issue? i'm not familiar w/ either biome_lib or plantlife code too deeply.