Nice Mob Scaling
Smart Entity Scaling in Minecraft
Nice Mob Scaling is a lightweight data pack that automatically changes mob sizes upon spawning in the world. By default, scaling requires creatures to be exposed to the sky, with size variations ranging from 85% to 115% of the original scale. The package includes convenient functions for fine-tuning scaling parameters according to your preferences.
Easy Installation and Functionality
The data pack is ready to use immediately after installation - no additional steps required, everything works perfectly out of the box.
For PaperMC Servers and Compatible Systems
If you're using the data pack on PaperMC servers or compatible forks (such as Purpur), make sure to set allow-non-player-entities-on-scoreboards to true in your configuration files, and also add the resource pack included with the data pack to the server side for full functionality.
Configuring Valid Mob Types
You can easily configure which creatures can only shrink, only enlarge, do both, or remain unchanged. To do this, simply edit the corresponding type lists:
/data/eden/tags/entity_type/valid_for_any_scaling.json
/data/eden/tags/entity_type/valid_for_enlarging.json
/data/eden/tags/entity_type/valid_for_shrinking.json
Game Rules and Commands
Customization of minimum and maximum values for shrinking mobs:
/function mob_scaling:gamerule/range/shrink {min:value,max:value}
Configuration of values for enlarging mobs:
/function mob_scaling:gamerule/range/enlarge {min:value,max:value}
Creatures that can freely alter size use the minimum value for shrinking and maximum for enlarging.
Turning on/off the requirement for exposure to sky:
/function mob_scaling:gamerule/condition/need_to_see_sky
Resetting default settings:
/function mob_scaling:gamerule/default_settings
