Compatibility
Minecraft: Java Edition
1.21
1.20.5–1.20.6
Platforms
Creators
Details
Licensed MIT
Published last year
Updated last year
Allows all players (including non-operators) to adjust their generic.scale attribute. Minimum and maximum values are configurable by operators.
Features
/trigger scale set <value>to set your scale. Value is 10x* the actual scale. (e.g. 10 is 1x, 5 is 0.5x, 20 is 2x, etc.)/trigger scale(with noset) to reset the scale of the player to 1x.- Players tagged by operators or other datapacks with the tag
no_scalingare not permitted to adjust their scale. - Operators can force a scale change by manually adjusting the scoreboard:
/scoreboard players set <player> scale <value>(0 to reset, otherwise identical to/triggerparameter) - Operators can change the minimum scale:
/scoreboard players set $minScale scale.conf <value>and maximum scale:/scoreboard players set $maxScale scale.conf <value>
*see below to change this
Defaults
- Minimum scale: 0.1x
- Maximum scale: 10x
Uninstallation
- Run
/function scaler:uninstall - Disable the datapack (
/datapack disable ...) or remove it from the datapack directory - Reload datapacks (
/reload)
Advanced configuration
- Adjust the scale factor (i.e. ratio between input value and resulting scale): In
/data/scaler/function/pre_invoke.mcfunctionand its equivalent in the overlay, the scale factor is managed by theexecute storeline. The default, 0.1, means that inputting 10 results in 100% scale; 0.01 would mean 100 = 100% scale, etc. If you change the scale factor, it might be necessary to change the reset scale on line 4.

