Apothic Attributes
A library that adds the Attributes GUI, alongside a suite of new attributes to work with
介绍
Description
Apothic Attributes is a library mod that provides a variety of attributes and attribute-related utilities, which makes interacting with, debugging,
and using attributes much easier. The current list of Attributes is available
here. Most
of the features are developer-facing, but there are a few user-facing components:
The Attributes GUI
Apothic Attributes provides an Attributes GUI, accessible via the sword button in your inventory. This GUI shows all attributes that are attached
to your player. You can filter the displayed attributes to only show modified attributes, and hovering an attribute will show a description and
detailed information.

Armor Calculations
To support the addition of Armor Pierce, Armor Shred, Protection Pierce, and Protection Shred, Apothic Attributes changes the way that damage
reduction calculations are done, for both Armor and Protection.
In vanilla, armor reduces damage based on your armor toughness value and the incoming damage value.
With Apothic Attributes, only armor reduces incoming damage, and armor toughness reduces the effectiveness of enemy Armor Shred and Armor Pierce. For
specifics on damage formulas, see
here.
The changes in damage taken as a result of this can be seen in the following chart, where “New Apoth” is the formula currently used by Apothic
Attributes. This chart does not take protection calculations into account. The changes to protection are described
here.

Potion Tooltips
Another player-facing feature is the changes to potion tooltips. Descriptions will be added to potion items that are not simple attribute
modifiers, and these descriptions (as well as the attribute modifiers) will be shown when hovering your active effects in the inventory.

Attribute Formatting
Apothic Attributes allows attributes to format their own tooltips. The most notable example of attributes with custom formatting are Percent-Based
Attributes, which always display their values in percentage form, regardless of their modifier type. The vanilla attributes Speed and
Knockback Resistance are displayed in Percent-Based mode.
Part of this feature is the additional tooltip information. When advanced tooltips (f3+h) are enabled, additional information about the modifier
type and the underlying value will be shown.

Advanced Tooltip Info Reference
Addition modifiers will show text similar to [+100]
Multiply Base modifiers will show text similar to [+20x]
Multiply Total modifiers will show text similar to [x10]
Note that Multiply Total values have their underlying value offset by +1, even in the advanced tooltip display. This is due to how they are applied
(a multiply total modifier causes the final value to be multiplied by 1+value).
Developing
Apothic Attributes depends on Placebo, and is available via maven:
maven {
// Shadows_of_Fire's Maven
url "https://maven.shadowsoffire.dev/releases"
}
dependencies {
implementation fg.deobf("dev.shadowsoffire:Placebo:${mcVersion}-${placeboVersion}")
implementation fg.deobf("dev.shadowsoffire:ApothicAttributes:${mcVersion}-${attributesLibVersion}")
}
The API package (https://github.com/Shadows-of-Fire/Apothic-Attributes/tree/1.20/src/main/java/dev/shadowsoffire/attributeslib/api) of Apothic
Attributes contains everything you should need to interface with from the mod.
Support Me
Contact
Discord:
常见问题
Apothic Attributes 支持哪些 Minecraft 版本?
Apothic Attributes 支持 Minecraft Java 版 1.20.1–26.1.2,共 3 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
Apothic Attributes 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
Shadows-of-Fire 的其他作品
查看全部 →
FastSuite
Optimizations for the entire recipe system!
FastFurnace
Performance optimizations for the furnace
Toast Control
Manage (or remove) those pesky toast notifications
Apotheosis
All things that should have been


评论
登录后评论和评分