HomeJavaModsAttributes UI
Attributes UI
ModsJava

Attributes UI

by Luc1fer1o · on Modrinth

Adds a configurable attributes table to the player inventory, with custom attribute support, display transforms, separators, and an in-inventory toggle.

⬇ Download on Modrinth

Attributes UI

Attributes UI is a client-side NeoForge mod that adds a clean, configurable attributes table to the left side of the player inventory.

It is designed for modded setups where players need to see both vanilla and custom attributes without opening extra menus or relying on hardcoded compatibility.

Features

Default Attributes

The default generated config includes:

Configuration

After launching the game once, edit:

config/attributesui-client.toml

Each attribute entry is an object:

attributes = [
  { Name = "Max Health", Attribute = "generic.max_health", Deduct = 0.0, Divide = 0.0, Multiply = 0.0, ShowAbove = 0.0, Type = "plain" },
  { Name = "Armor", Attribute = "generic.armor", Deduct = 0.0, Divide = 0.0, Multiply = 0.0, ShowAbove = 0.0, Type = "plain" }
]

Custom Attribute Example

attributes = [
  { Name = "Ability Haste", Attribute = "spell_power:haste", Deduct = 100.0, Divide = 0.0, Multiply = 0.0, ShowAbove = 100.0, Type = "percent" },
  { },
  { Name = "Arcane Spell Power", Attribute = "spell_power:arcane", Deduct = 0.0, Divide = 0.0, Multiply = 0.0, ShowAbove = 1.0, Type = "plain" },
  { Name = "Spell Critical Damage", Attribute = "spell_power:critical_damage", Deduct = 0.0, Divide = 0.0, Multiply = 100.0, ShowAbove = 150.0, Type = "percent" }
]

Config Fields

Display Transforms

Transforms are visual only. The mod never changes the real attribute value.

The display value is calculated as:

display = raw - Deduct
if Divide > 0: display = display / Divide
if Multiply > 0: display = display * Multiply

If Type is percent, the mod adds % after the final displayed value.

For example, if a custom attribute returns 105 and the config has Deduct = 100 and Type = "percent", the UI shows 5%.

Compatibility

Attributes UI reads attributes by id, so it can support custom attributes from other mods as long as they are registered as normal Minecraft attributes.

The mod is client-side and intended for NeoForge 1.21.1.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more