本模组需要安装 PEHKUI 才能正常运行。

通过本模组,借助 Pehkui,生物现在可以拥有多样的体型!默认的尺寸缩放范围是当前实体大小的 0.95-1.05 倍,但每个实体的尺寸范围都可以在其各自的配置文件中设置。这些值也可以用于修改生物的攻击力、击退抗性、生命值以及其他属性(均可配置)。现在还增加了维度、生物群系和实体名称的覆盖功能,以在生物生成时创造更多的变化;不过,实体名称覆盖功能仅在您安装了其他添加了实体名称的模组时才生效。您还可以修改繁殖生成的子代受父母体型影响的程度!本模组应能兼容所有原版及模组添加的实体。末影龙、凋灵及其他部分实体默认被列入黑名单。VMH 提供了诸如 "vmhScale" 等 NBT 标签,用于获取生物的体型及其他信息,以便在使用经由 VMH 修改的实体进行更多自定义操作(例如修改战利品表和资源包)时使用。
本模组与 Nyf's Spiders, (Spiders 2.0 的移植版)兼容!
注意事项:
分布类型:
分布类型由一个 0-5 的整数设定。现在的分布使用高斯分布。我将致力于推出新的分布类型,以下是各分布类型的代码:
public static float setScalingValue(double min, double max, double median, int dist){
float scale;
double stdDev;
//***根据分布类型设置尺寸值
switch (dist) {
case 1 -> {//基于均值的高斯分布,使用标准差 - 趋向于中位数
stdDev = (max - min) / (2 * 2.576);
scale=(float)randomGaussianDistScale(median, min, max, stdDev);
}
case 2 -> {//基于中位数的高斯分布,使用 1/2*标准差 - 略微趋向于中位数
stdDev = (max - min) / (2 * 1.288);
scale=(float)randomGaussianDistScale(median, min, max, stdDev);
}
case 3 -> {//基于中位数的高斯分布,使用 2*标准差 - 强烈趋向于中位数
stdDev = (max - min) / (2 * 5.152);
scale=(float)randomGaussianDistScale(median, min, max, stdDev);
}
case 4 -> {//基于均值的高斯分布,使用 1/4*标准差 - 极其微弱地趋向于中位数
stdDev = (max - min) / (2 * 0.644);
scale=(float)randomGaussianDistScale(median, min, max, stdDev);
}
case 5 -> {//基于中位数的高斯分布,使用 4*标准差 - 极其强烈地趋向于中位数
stdDev = (max - min) / (2 * 10.304);
scale=(float)randomGaussianDistScale(median, min, max, stdDev);
}
default ->
scale = (float) (min + (max - min) * (Math.random())); //默认值。基于最大值和最小值以及均值。均匀分布。
}
return scale;
}
默认实体列表及其数值:
这些是旧值。默认值现在介于 0.95-1.05 之间。
"minecraft:allay;0.9;1.1;1;0",
"minecraft:axolotl;0.9;1.1;1;0",
"minecraft:bat;0.9;1.1;1;0",
"minecraft:bee;0.9;1.1;1;0",
"minecraft:blaze;0.9;1.1;1;0",
"minecraft:cat;0.9;1.1;1;0",
"minecraft:cave_spider;0.9;1.1;1;0",
"minecraft:chicken;0.9;1.1;1;0",
"minecraft:cod;0.9;1.1;1;0",
"minecraft:cow;0.9;1.1;1;0",
"minecraft:creeper;0.9;1.1;1;0",
"minecraft:dolphin;0.9;1.1;1;0",
"minecraft:donkey;0.9;1.1;1;0",
"minecraft:drowned;0.9;1.1;1;0",
"minecraft:enderman;0.9;1.1;1;0",
"minecraft:evoker;0.9;1.1;1;0",
"minecraft:fox;0.9;1.1;1;0",
"minecraft:frog;0.9;1.1;1;0",
"minecraft:ghast;0.9;1.1;1;0",
"minecraft:glow_squid;0.9;1.1;1;0",
"minecraft:goat;0.9;1.1;1;0",
"minecraft:guardian;0.9;1.1;1;0",
"minecraft:hoglin;0.9;1.1;1;0",
"minecraft:horse;0.9;1.1;1;0",
"minecraft:husk;0.9;1.1;1;0",
"minecraft:illusioner;0.9;1.1;1;0",
"minecraft:iron_golem;0.9;1.1;1;0",
"minecraft:llama;0.9;1.1;1;0",
"minecraft:magma_cube;0.9;1.1;1;0",
"minecraft:mooshroom;0.9;1.1;1;0",
"minecraft:mule;0.9;1.1;1;0",
"minecraft:ocelot;0.9;1.1;1;0",
"minecraft:panda;0.9;1.1;1;0",
"minecraft:parrot;0.9;1.1;1;0",
"minecraft:phantom;0.9;1.1;1;0",
"minecraft:pig;0.9;1.1;1;0",
"minecraft:piglin_brute;0.9;1.1;1;0",
"minecraft:pillager;0.9;1.1;1;0",
"minecraft:polar_bear;0.9;1.1;1;0",
"minecraft:pufferfish;0.9;1.1;1;0",
"minecraft:rabbit;0.9;1.1;1;0",
"minecraft:ravager;0.9;1.1;1;0",
"minecraft:salmon;0.9;1.1;1;0",
"minecraft:sheep;0.9;1.1;1;0",
"minecraft:shulker;0.9;1.1;1;0",
"minecraft:silverfish;0.9;1.1;1;0",
"minecraft:skeleton;0.9;1.1;1;0",
"minecraft:slime;0.7;1.3;1;0",
"minecraft:snow_golem;0.9;1.1;1;0",
"minecraft:spider;0.8;1.2;1;0",
"minecraft:squid;0.9;1.1;1;0",
"minecraft:stray;0.9;1.1;1;0",
"minecraft:strider;0.9;1.1;1;0",
"minecraft:tadpole;0.9;1.1;1;0",
"minecraft:trader_llama;0.9;1.1;1;0",
"minecraft:tropical_fish;0.9;1.1;1;0",
"minecraft:turtle;0.9;1.1;1;0",
"minecraft:vex;0.9;1.1;1;0",
"minecraft:villager;0.92;1.08;1;0",
"minecraft:vindicator;0.9;1.1;1;0",
"minecraft:wandering_trader;0.92;1.08;1;0",
"minecraft:witch;0.9;1.1;1;0",
"minecraft:wither_skeleton;0.9;1.1;1;0",
"minecraft:wolf;0.9;1.1;1;0",
"minecraft:zoglin;0.9;1.1;1;0",
"minecraft:zombie;0.9;1.1;1;0",
"minecraft:zombie_horse;0.9;1.1;1;0",
"minecraft:zombie_villager;0.9;1.1;1;0",
"minecraft:zombified_piglin;0.9;1.1;1;0"
计划:
- (v1.1.8) 发布新模组 Mob Notebook,以获取本模组及其他模组的数值。
- (v1.1.7) 发布插件 VMH - Breeding,用于处理繁殖数值。
备注:
- 更多详细信息将在 wiki 上尽快发布!
- 如果在加载世界后更改了配置值,部分生物在更改生效前已加载时,仍会保留之前的数值,因为数值是在实体生成时应用的。
加入我的 Discord 服务器:discord.io/Rikurob.
特别感谢:
- Virtuoel - Pehkui 创作者
- telepathicgrunt - 初始配置帮助
- agadoo1211 -模组测试/反馈
THIS MOD REQUIRES PEHKUI IN ORDER TO WORK.

With this mod, by using Pehkui, mobs now have variety in their sizes! The default range for the size modifier is anywhere from 0.95-1.05 times the currently entity size, but each entity's size range can be set in their respective configuration file. These values can also apply modify to the mobs attack, knockback, health, and other attributes (All Configurable). There are now also set dimensional, biome and entity name overrides to create event more variation in mob spawning, however the names will only work if you have another mod that adds entity names. You can also modify how scale affects mobs spawned by breeding from their parents! This mod should work with all vanilla and modded entities. The ender dragon, wither, and some other entities are blacklisted by default. There are NBT values such as "vmhScale" to get the mob's size and other information for more customization when using entities modified through VMH, such as using them to modify loot tables, and resource packs.
This mod works with Nyf's Spiders, a port of Spiders 2.0!
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:
These are the old values. The default values are now between 0.95-1.05.
"minecraft:allay;0.9;1.1;1;0",
"minecraft:axolotl;0.9;1.1;1;0",
"minecraft:bat;0.9;1.1;1;0",
"minecraft:bee;0.9;1.1;1;0",
"minecraft:blaze;0.9;1.1;1;0",
"minecraft:cat;0.9;1.1;1;0",
"minecraft:cave_spider;0.9;1.1;1;0",
"minecraft:chicken;0.9;1.1;1;0",
"minecraft:cod;0.9;1.1;1;0",
"minecraft:cow;0.9;1.1;1;0",
"minecraft:creeper;0.9;1.1;1;0",
"minecraft:dolphin;0.9;1.1;1;0",
"minecraft:donkey;0.9;1.1;1;0",
"minecraft:drowned;0.9;1.1;1;0",
"minecraft:enderman;0.9;1.1;1;0",
"minecraft:evoker;0.9;1.1;1;0",
"minecraft:fox;0.9;1.1;1;0",
"minecraft:frog;0.9;1.1;1;0",
"minecraft:ghast;0.9;1.1;1;0",
"minecraft:glow_squid;0.9;1.1;1;0",
"minecraft:goat;0.9;1.1;1;0",
"minecraft:guardian;0.9;1.1;1;0",
"minecraft:hoglin;0.9;1.1;1;0",
"minecraft:horse;0.9;1.1;1;0",
"minecraft:husk;0.9;1.1;1;0",
"minecraft:illusioner;0.9;1.1;1;0",
"minecraft:iron_golem;0.9;1.1;1;0",
"minecraft:llama;0.9;1.1;1;0",
"minecraft:magma_cube;0.9;1.1;1;0",
"minecraft:mooshroom;0.9;1.1;1;0",
"minecraft:mule;0.9;1.1;1;0",
"minecraft:ocelot;0.9;1.1;1;0",
"minecraft:panda;0.9;1.1;1;0",
"minecraft:parrot;0.9;1.1;1;0",
"minecraft:phantom;0.9;1.1;1;0",
"minecraft:pig;0.9;1.1;1;0",
"minecraft:piglin_brute;0.9;1.1;1;0",
"minecraft:pillager;0.9;1.1;1;0",
"minecraft:polar_bear;0.9;1.1;1;0",
"minecraft:pufferfish;0.9;1.1;1;0",
"minecraft:rabbit;0.9;1.1;1;0",
"minecraft:ravager;0.9;1.1;1;0",
"minecraft:salmon;0.9;1.1;1;0",
"minecraft:sheep;0.9;1.1;1;0",
"minecraft:shulker;0.9;1.1;1;0",
"minecraft:silverfish;0.9;1.1;1;0",
"minecraft:skeleton;0.9;1.1;1;0",
"minecraft:slime;0.7;1.3;1;0",
"minecraft:snow_golem;0.9;1.1;1;0",
"minecraft:spider;0.8;1.2;1;0",
"minecraft:squid;0.9;1.1;1;0",
"minecraft:stray;0.9;1.1;1;0",
"minecraft:strider;0.9;1.1;1;0",
"minecraft:tadpole;0.9;1.1;1;0",
"minecraft:trader_llama;0.9;1.1;1;0",
"minecraft:tropical_fish;0.9;1.1;1;0",
"minecraft:turtle;0.9;1.1;1;0",
"minecraft:vex;0.9;1.1;1;0",
"minecraft:villager;0.92;1.08;1;0",
"minecraft:vindicator;0.9;1.1;1;0",
"minecraft:wandering_trader;0.92;1.08;1;0",
"minecraft:witch;0.9;1.1;1;0",
"minecraft:wither_skeleton;0.9;1.1;1;0",
"minecraft:wolf;0.9;1.1;1;0",
"minecraft:zoglin;0.9;1.1;1;0",
"minecraft:zombie;0.9;1.1;1;0",
"minecraft:zombie_horse;0.9;1.1;1;0",
"minecraft:zombie_villager;0.9;1.1;1;0",
"minecraft:zombified_piglin;0.9;1.1;1;0"
Plans:
- (v1.1.8) Release new mod Mob Notebook to get values from this mod+others
- (v1.1.7) Release addon VMH - Breeding to handle breeding values.
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.
Join my discord server: discord.io/Rikurob.
Special Thanks To:
- Virtuoel - Pehkui Creator
- telepathicgrunt - Initial config help
- agadoo1211 -Mod testing/feedback
评论 0
登录后参与评分
还没有评论,来抢沙发吧