Player scale picker
ModrinthProvides a mechanism (`/trigger scale`) for players to adjust their size.
318 téléchargements 1 abonnés mis à jour 23mo ago
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.
Versions
Aucun historique de versions. Utilise le bouton Télécharger pour obtenir la dernière depuis la source.
Commentaires 0
Aucun commentaire pour l'instant. Sois le premier à donner ton avis.