Topic category: Help with Minecraft modding (Java Edition)
Okay so I made a mod where I added 100 monsters all spawning in the overworld in every biome except the mushroom island.
Right now they have a spawn rate of 20 and a good chunk of them do spawn making the game chaotic (unsurprisingly). I personally enjoy the mass amount of monsters.
However based on the experience of other mod makers I need to ask how should I approach this for people who play the mod and want to encounter all of these monsters but do not want to get over run by a lot of them and possibly crash their pc?
Should I reduce their spawn rate to 15, 10, or maybe even 5? Other numbers are welcomed.
Or should I divide the spawn rate and have 1/3 be 15, 10, and 5? Same for here.
Any other suggestion is welcomed and appreciated!
Here is a Idea, get difficulty then make a variable with the following values; for peaceful set it to 0, easy is 1, normal is 3 and hard is 5, if the gamemode is hardcore set it to any number larger than 5(I will use DM). Next make a world variable called danger level that goes up if a player does a special achivement or when different ammounts of oponnents will increase this number but deaths of players will decrease the number(i will use CL). Then get each mobs spawn chance (i will use SC)then do the following math (SC*((CL*(CL/DM))*DM))*DM to find the chance that a monster will spawn! it will scale to the average player in a world and to the difficulty selected