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 can 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 of Apothic Attributes contains everything you should need to interface with from the mod.
Contact
Discord: https://discord.shadowsoffire.dev/landing
本站是资源分享站,资源均来自于互联网和用户自发分享,仅供学习和交流使用。如有版权问题,请联系管理员删除。
操作
创作者
待认领资源
成为此资源的创作者
其他链接
最近更新资源
通天之路
热度 284 | 2 天前更新
匠途闲境 - Create Craft & Quiet
热度 195 | 2 天前更新
VERITY.exe
热度 337 | 5 天前更新
咒术回战(咒术战斗)
热度 68933 | 5 天前更新
暮色森林精选 - The Best of Twilight Forest
热度 25593 | 5 天前更新
无限计划 0.1 - Project Infinity 0.1
热度 9743 | 5 天前更新
黑暗RPG - DarkRPG - Forge
热度 9574 | 5 天前更新
[TLWS]末世生辉 The Last World Shines
热度 9393 | 5 天前更新
简易小屋
热度 620 | 1 周前更新
灾厄巫咒
热度 654 | 2 周前更新
阿卡迪亚的天启
热度 2872 | 2 周前更新
寄生仙途
热度 801 | 2 周前更新
评论区 (0)
登录 后才能发表评论
快来发表第一条评论吧!