跳到正文

Player Attribute Display

作者:Black-Cat

Adds a panel that displays your attribute values.

收藏

截图

介绍

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

Player Attribute Display

This mod adds a panel that displays a list of attribute values.

In order to obtain accurate values, this mod requires client-server communication, so it MUST be installed on BOTH the client and server in multiplayer environments.

This mod includes a server config and a client config.

  • If the server config is enabled, all players will display the same set of attributes. The panel can be disabled for all players as well.
  • If the server config is disabled, each player can configure their own panel individually.
  • You can change the colour of the attribute names, values and details in the client config.
  • You can enable or disable showing details in the client config or by simply clicking the panel.

The default keybind to open the panel is ‘Tab’.

List Configuration

The panel can display up to 13 attributes at most.

In each entry, the identifier of the attribute must be provided.

You can optionally add a prefix and a unit to the value.

You can configure the number format of the displayed value:

  • Raw: Default. The value is displayed as-is.
  • Percentage: The value is multiplied by 100 and the % symbol is added.

You can configure the number of decimal places of the value, which ranges from 0 to 5 (inclusive). The number is rounded off.

If the value requires some calculations before being displayed, you can provide a mathematical expression. Use ‘x’ to represent the original value. Unfortunately, substituting other dynamic values is not supported at the moment.

Dependencies

Required

Optional

Supported Languages

  • English (United States)
  • English (United Kingdom)
  • Cantonese (Hong Kong)
  • Chinese (Traditional Chinese)
  • Chinese (Simplified Chinese)

Plan

  • Allow pinning attributes and displaying their current values on screen without a panel. (less likely)
  • Add translations for Korean and Japanese. (procrastinating)
  • Allow players to add custom attribute name translations using Json.

This mod is for fabric only. There is currently no plan to make a forge/neoforge version.

常见问题

Player Attribute Display 支持哪些 Minecraft 版本?

Player Attribute Display 支持 Minecraft Java 版 1.21.7–1.21.10,共 4 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Player Attribute Display 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

Black-Cat 的其他作品

查看全部 →