Open BrunoMine opened 5 years ago
What do you want to improve?
Add a filter to check nodes near spawn point. (eg. Diamond Ore) Add method for take only nodes under air (for generating on caves) These two improvements are just for spawning MOBs while generating the world. I noticed that initially the world is empty and the MOBs appear over time, with the update I intend to spawn soon after generating the map.
I want to suggest a different solution to mob spawning.
Low-frequent randomized spawning is cool to keep things interesting over a longer period of time, I guess.
But what’d be really interesting would be to spawn mobs into the world not by timers and chance but according to a noise pattern. This noise pattern can be based on the world seed so that it’s reproducable, just like the map itself. The mobs should never expire but death be permanent. The spawning process should use thematized by use of biome checking. This is cool for several reasons:
Immersion will increase as players need to take care not to exterminate flocks of animals forever in a region, but instead hunt responsibly and perhaps nurture the population as well.
Players will be able to refer to not only good map spots but good mob spots by position and seed only.
Moar
The problem of spawning the MOBs only according to a noise pattern once is that all objects are deleted with the /clearobjects
command, which eliminates all objects including MOBs.
Use seed for MOB spawn sounds good.
Then either we suggest not using /clearobjects
or, better, store mob position data somewhere to respawn the same mobs and make mobs essentially survive a clearing up.
I've looked at different ways of trying to do this. But it is extremely inefficient. For now we will try to soften the problems.
What are the specific obstacles?
I believe I was able to partially solve the problem. I basically created a new spawn type:
I finished making all the improvements in the generation of MOBs, now I will test a little, but I already seemed quite pleasant. Test version: My develop branch
I'm working on it these days. If anyone has a suggestion post here, maybe I already do.