跳到正文

Player scale picker

Provides a mechanism (`/trigger scale`) for players to adjust their size.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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 no set) to reset the scale of the player to 1x.
  • Players tagged by operators or other datapacks with the tag no_scaling are 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 /trigger parameter)
  • 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

  1. Run /function scaler:uninstall
  2. Disable the datapack (/datapack disable ...) or remove it from the datapack directory
  3. Reload datapacks (/reload)

Advanced configuration

  • Adjust the scale factor (i.e. ratio between input value and resulting scale): In /data/scaler/function/pre_invoke.mcfunction and its equivalent in the overlay, the scale factor is managed by the execute store line. 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.

常见问题

Player scale picker 支持哪些 Minecraft 版本?

Player scale picker 支持 Minecraft Java 版 1.20.5–1.21,共 3 个版本。下载时注意选择和你游戏版本一致的文件。

Player scale picker 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

penguinencounter 的其他作品

查看全部 →