Data Packs Mob

Random Mob Sizes [1.21.2-26.2+]

  • Functions
  • 6,910 views • 8 today
  • 990 downloads • 0 today
  • 44
  • 45
  • 8
Stoupy
Level 52 : Grandmaster Electrician
55

Random Mob Sizes


Random Mob Sizes [1.21.2-26.2+] Minecraft Data Pack Random Mob Sizes [1.21.2-26.2+] Minecraft Data Pack Random Mob Sizes [1.21.2-26.2+] Minecraft Data Pack

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



CompatibilityMinecraft 1.21
toMinecraft 26.1
Tags

16 Update Logs

Update #16 : by Stoupy 06/16/2026 1:14:09 pmJune 16 @ 5:14 pm UTC

Changelog

Build System

  • 🚀 Bumped v1.3.5 (MC 1.21.2 - 26.2+) 0f654e4

Other


Full Changelog: https://github.com/Stoupy51/RandomMobSizes/compare/v1.3.4...v1.3.5
LOAD MORE LOGS

  Have something to say?

MisterJeeves
05/16/2026 9:12 pm
Level 25 : Expert Miner
This is really cool. I'm using it on my server :)

Only issue I'm having is that the health still scales even though I've disabled it using the command given. How can I fix this?
1
Stoupy
05/17/2026 6:50 am
Level 52 : Grandmaster Electrician
history
It only take effects for new spawned mobs only.
If you want to force already spawned entities to update, type: /tag @e remove random_mob_sizes.checked
1
luigi64zain
10/28/2025 4:15 pm
He/Him • Level 10 : Journeyman Taco Engineer
5th comment
1
IDrankALavaLamp
01/11/2025 4:28 pm
Level 1 : New Miner
Does this also change the entities hitbox size? Also does this make them not fit in areas they previously fit in?
1
Stoupy
03/29/2025 11:14 am
Level 52 : Grandmaster Electrician
Yes the hitbox size is updated.

Though mobs will continue to spawn to initial areas despite their size
2
SirFluffyPuffs
06/17/2024 3:35 pm
Level 11 : Journeyman Miner
does this us e the tick function or is performance intense
1
Stoupy
06/17/2024 4:05 pm
Level 52 : Grandmaster Electrician
This datapack is efficient using a 1s loop and tag checks.
1
SirFluffyPuffs
06/17/2024 5:07 pm
Level 11 : Journeyman Miner
ok, buddy keep it up
3

Welcome