promotional bannermobile promotional banner

Mana Attributes

A small API that adds a mana system controlled by entity attributes.
Back to Files

mana-attributes-1.6.0.jar

File namemana-attributes-1.6.0.jar
Uploader
TheRedBrainTheRedBrain
Uploaded
Dec 9, 2024
Downloads
26
Size
80.4 KB
Mod Loaders
Fabric
File ID
5976725
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Fabric

modImplementation "curse.maven:mana-attributes-1060755:5976725"

Learn more about Curse Maven

What's new

1.6.0

HUD rendering overhaul The initial idea of splitting a bar into three textures per "layer" to allow for easy change of the bar length, came with the cost of massive FPS drops. With this rewrite the bar size is no longer changeable with a simple config option. Each 'layer' consists of only 1 texture (which can have configurable dimensions). In addition, the texture can be dynamically replaced by another texture (with configurable dimensions) depending on the max value.

  • removed 'is_centered' option, as it was redundant and unnecessarily complicated
  • 'fill_direction' no longer chooses between a horizontal and a vertical 'texture set', it only determines the direction from which the bar is filled. This means that changing between horizontal and vertical resource bars also requires a texture change.
  • added the option to display an icon (with configurable texture id and dimensions). This can be toggled independently of the bar and the number.
  • changed default value of "generic.max_mana" to 10