随机生物尺寸
这个数据包通过随机化你世界中所有生物的大小,带来了一种有趣的游戏体验!? ?
默认缩放比例为 0.75-1.25,但你可以通过命令 /function random_mob_sizes:config ⚙️ 进行自定义配置。
该数据包经过优化,意味着它不会给你的世界/服务器增加任何卡顿!⚡️
你还可以针对每个生物的行为进行配置,以微调特定实体的大小范围和生命值缩放。?
配置 ⚙️
运行辅助命令来配置此数据包:
- ▶️ 执行
/function random_mob_sizes:config
- ? 这会在聊天中打印可点击的消息,预填充你可以编辑并发送的命令。
你可以配置的内容(来自游戏内帮助):
- ? 大小值范围:0.0625 – 16.0
- ? 默认全局范围:min_size = 0.75, max_size = 1.25
- ❤️ 生命值缩放开关:生物的生命值是否随其大小变化(默认启用)
- ? 速度缩放开关:生物的移动速度是否随其大小变化(默认禁用)
- ⚔️ 伤害缩放开关:生物的攻击伤害是否随其大小变化(默认禁用)
全局设置示例 ?️:
- ➖? 设置最小大小
/data modify storage random_mob_sizes:config min_size set value 0.75
- ➕? 设置最大大小
/data modify storage random_mob_sizes:config max_size set value 1.25
- ?❤️ 启用/禁用生命值缩放
/data modify storage random_mob_sizes:config health_scale set value false
- 使用
true 启用,false 禁用。
- ?? 启用/禁用速度缩放
/data modify storage random_mob_sizes:config speed_scale set value true
- 使用
true 启用,false 禁用。
- ?⚔️ 启用/禁用伤害缩放
/data modify storage random_mob_sizes:config damage_scale set value true
- 使用
true 启用,false 禁用。
针对单个生物的覆盖设置(可选)?:
- ? 你可以为特定的生物类型覆盖全局设置。提供任意键的子集;未提供的键将回退到全局值。
- ? 鸡的示例:
/data modify storage random_mob_sizes:config mobs."minecraft:chicken" set value {min_size:0.75,max_size:1.25,health_scale:true,speed_scale:false,damage_scale:false}
- ? 将
minecraft:chicken 替换为你想要的实体 ID(例如 minecraft:zombie)。
? 提示:你可以随时重新运行 /function random_mob_sizes:config 以再次显示可点击的帮助信息。
技术 / 兼容性 ?
受此数据包影响的生物包括:
- 具有 "Brain" NBT 的生物 ?
- 非玩家 ?
- 非盔甲架 ?️
- 不具有以下标签的实体:
random_mob_sizes.checked, smithed.entity, smithed.strict, global.ignore ?️
这意味着模组添加的生物也可能受到影响!?
如果你想将所有已加载的实体恢复为其原始大小,可以输入 /execute as @e run attribute @s scale base reset。


⭐ Star History

Random Mob Sizes
This datapack provides a funny game experience by randomizing every mob sizes in your world! ? ?
The default scale is 0.75-1.25 but can be configured as you want with the command /function random_mob_sizes:config ⚙️
The datapack is optimized, meaning it do not add any lag to your world/server! ⚡️
You can also configure per-mob behavior to fine‑tune size ranges and health scaling for specific entities. ?
Configuration ⚙️
Run the helper command to configure the pack:
- ▶️ Execute
/function random_mob_sizes:config
- ? This prints clickable messages in chat that prefill commands you can edit and send.
What you can configure (from the in-game helper):
- ? Value range for sizes: 0.0625 – 16.0
- ? Default global range: min_size = 0.75, max_size = 1.25
- ❤️ Health scaling toggle: whether mob health scales with their size (enabled by default)
- ? Speed scaling toggle: whether mob movement speed scales with their size (disabled by default)
- ⚔️ Damage scaling toggle: whether mob attack damage scales with their size (disabled by default)
Global settings examples ?️:
- ➖? Set minimum size
/data modify storage random_mob_sizes:config min_size set value 0.75
- ➕? Set maximum size
/data modify storage random_mob_sizes:config max_size set value 1.25
- ?❤️ Enable/disable health scaling
/data modify storage random_mob_sizes:config health_scale set value false
- Use
true to enable, false to disable.
- ?? Enable/disable speed scaling
/data modify storage random_mob_sizes:config speed_scale set value true
- Use
true to enable, false to disable.
- ?⚔️ Enable/disable damage scaling
/data modify storage random_mob_sizes:config damage_scale set value true
- Use
true to enable, false to disable.
Per-mob overrides (optional) ?:
- ? You can override the global settings for a specific mob type. Provide any subset of keys; omitted keys fall back to the global values.
- ? Example for chickens:
/data modify storage random_mob_sizes:config mobs."minecraft:chicken" set value {min_size:0.75,max_size:1.25,health_scale:true,speed_scale:false,damage_scale:false}
- ? Replace
minecraft:chicken with the desired entity ID (e.g., minecraft:zombie).
? Tip: You can re-run /function random_mob_sizes:config at any time to show the clickable helpers again.
Technical / Compatibility ?
Mobs concerned by the datapack are:
- mobs with a "Brain" NBT ?
- not players ?
- not armor stands ?️
- not entities having the following Tags:
random_mob_sizes.checked, smithed.entity, smithed.strict, global.ignore ?️
Meaning modded mobs can be concerned! ?
If you want to revert all loaded entities to their original size, you can type /execute as @e run attribute @s scale base reset.


⭐ Star History

评论 0
登录后参与评分
还没有评论,来抢沙发吧