Description
Realistic Spiders
THIS MOD REQUIRES Pehkui TO WORK.
This mod is now an official fork of my mod VMH- Variable Mob Height v1.1.6 from Realistic Spiders v1.0.6 onwards, with some slightly different features. It is not necessary to download VMH to use this mod. What this mod adds that is different from VMH is nests, and does not have any auto-compatibility for mobs. It has full auto-compatibility with VMH, and will essentially override VMH mod config with its own(only for the specified entities), however will use VMH entity nbt values, such as "vmhScale", if VMH is installed. This mod works very well with Nyf's Spiders, a port of Spiders 2.0, Spiders Produce Webs, and Weaker Spiderwebs.
With this mod, by using Pehkui, mobs now have variety in their sizes! The default range for the size modifier is anywhere from 0.3-0.4 times the currently entity size, but each entity's size range can be set in the configuration file. These values can also apply modify to the mobs attack, knockback, health, and other attributes (All Configurable). This mod also adds new "nests" which adds will spawn additional entities to the original one, replacing one entity with two to six by default. By default, jockeys are disabled (Configurable). There are NBT values such as "rsScale" to get the mob's size and other information for more customization when using entities modified through RealisticSpiders, such as using them to modify loot tables, and resource packs.
Notes:
Distribution Types:
Distribution types are set by an integer 0-5. Distributions now use Guassian Distributions. I will work on getting new ones out, the code for the distribution types can be found below:
public static float setScalingValue(double min, double max, double median, int dist){
float scale;
double stdDev;
//***Set Size Value based on Distribution Types
switch (dist) {
case 1 -> {//Guassian Distribution based on the mean using stdDev- Trends towards median
stdDev = (max - min) / (2 * 2.576);
scale=(float)randomGaussianDistScale(median, min, max, stdDev);
}
case 2 -> {//Guassian Distribution based on the median using 1/2*stdDev - Trends Slightly towards median
stdDev = (max - min) / (2 * 1.288);
scale=(float)randomGaussianDistScale(median, min, max, stdDev);
}
case 3 -> {//Guassian Distribution based on the median using 2*stdDev - Trends Heavily towards median
stdDev = (max - min) / (2 * 5.152);
scale=(float)randomGaussianDistScale(median, min, max, stdDev);
}
case 4 -> {//Guassian Distribution based on the mean using 1/4*stdDev - Trends Very Slightly towards median
stdDev = (max - min) / (2 * 0.644);
scale=(float)randomGaussianDistScale(median, min, max, stdDev);
}
case 5 -> {//Guassian Distribution based on the median using 4*stdDev - Trends Very Heavily towards median
stdDev = (max - min) / (2 * 10.304);
scale=(float)randomGaussianDistScale(median, min, max, stdDev);
}
default ->
scale = (float) (min + (max - min) * (Math.random())); //Default. Based on Max and Min, and Mean. Even distribution.
}
return scale;
}
Default Entity List With Values:
"minecraft:cave_spider;0.3;0.4;0.35;0",
"minecraft:silverfish;0.3;0.4;0.35;0",
"minecraft:spider;0.3;0.4;0.35;0"
Plans:
Notes:
- More information will be released on the wiki soon!
- If you change config values after loading a world, some mobs will have values from before still if they loaded before the change was made, as the values are applied upon entity spawn.
If you like my content and want to help support me make more please consider donating to my patreon!
Join my discord server: discord.io/Rikurob.


