Hello I am making a Datapack and need to change the mob spawn algorithm? What I really need is to make any mob that never will spawn in a specific biome to be able to spawn.
An example: slimes they spawn in any slime chunk below Y40 and in swamps with the moon as the spawn factor. Ok I want to also spawn in Desert biome also using the moon factor. This is add slime spawns to all desert biomes. Or an other example I want to add lamas, cows, pigs, etc any other mob to a desert.
I say desert as is one of the most restricted biomes but it may be also an example if I want to Skeletons, zombies, etc to spawn in the end for example and not just Enderman. Or maybe reduce/increase the light level so creepers can only spawn if light levels are 3 or less (not 7 as is now).
Is there a command to do that?