Перейти к содержимому
Mineforgian

AttributeSetter

A lightweight mod that changes entities' and items' default attributes through datapacks

Загрузки
37K
Подписчики
49
Обновлён
20 июня 2026 г.
Лицензия
GPL-3.0-only

Опубликован 14 июля 2024 г.

Summary

Attribute Setter Is a simple lightweight mod that can change the default attributes of any living entity or item through datapacks, inspired by Jackiecrazy's Attributizer and Custom Item Attributes(CIA). This mod was created for modpack creators and server owners to easily balance entities and items, changing their health, damage, follow range, etc...

Supports CuriosAPI

Although we(I) don't support trinkets yet(it's harder to implement, trinkets doesn't have the event that I use in Curios), if you want to add attributes to any curios, just set the slot to the appropriate name.

Server Side Only Required

If you are a server owner, your players DO NOT need to download this mod. Simply put it into your mods folder and configure it as you wish. Of course it works on singleplayer as it has an integrated server running. Although keep in mind that your players won't see the changed attributes, they'll still work, but the items will appear with their vanilla attributes.

Client Side Optional

If installed in client-side, besides showing the changed attributes, this mod also collapses item attributes into vanilla "green attributes" if they're already present

Vanilla Behaviour AttributeSetter

Example

The following file attributes.json will change all creepers' health to 100, instead of the normal 20.

{
    "minecraft:creeper": [
        {
            "attribute": "minecraft:generic.max_health",
            "value": 100,
            "operation": "BASE"
        }
    ]
}

Creeper has spawned with 100 health

For more info on how to configure AttributeSetter, visit the github page or the discord

If you are building a modpack

you might be interested in some of my other mods for modpacks: AttributeSetter RPGDamageOverhaul FoodAttributes

Or Claims n Raids for servers/smp!

Ченджлог

2.2.1-neoforgeРелиз1.21.1 · 20 июня 2026 г.

Fixed setters trying to register before TargetTypes are loaded

Fixed AttributeInjection duration and stacking glitch

Fixed concurrent access crash on AttributeSetterAPI usage

2.2-neoforgeРелиз1.21.1 · 7 июня 2026 г.

Rewrite of the project.

Added food setters Added tooltip setters Added caching for a bunch of Selectors(HUUUGE performance boost) Added Attribute Merging Added isEnemy selector Added MaxStack setter Added isFood selector Added hasDurability selector Added isEnchanted selector Added isPotion selector Added isMonster selector Added isCreature selector Better support for /reload New documentation

2.1.1-forgeРелиз1.20.4, 1.20.5, 1.20.6 · 1 апреля 2026 г.
  • Fixed attributes not being applied to baby entities
2.1-forgeРелиз1.20.4, 1.20.5, 1.20.6 · 10 февраля 2026 г.
  • Added regex selectors
  • Added attribute conversion
  • Added attribute dependency
2.0-forgeРелиз1.20.4, 1.20.5, 1.20.6 · 4 февраля 2026 г.
  • MANY bugfixes, too many to list.
  • Better compat with ApothicAttributes
  • Better attribute merging
  • Better performance(rewrote the entire project)
  • The ability to select items and entities based on NBT
  • The ability to select items and entities based on more than one tag(or nbt) at once
  • The ability to select all items and entities that DON'T fit the selector
  • The "durability" operator, which changes an item's max durability.
1.11-neoforgeБета1.21.6, 1.21.7, 1.21.8 · 22 августа 2025 г.

Attempt at a 1.21 port. Tooltip rendering is not working just yet!

1.10-fabricРелиз1.20.1 · 19 мая 2025 г.

Fixed bug where attributes weren't stacking in different armor pieces

Removed need for UUIDs altogether, although you can still specify them

1.11-forgeРелиз1.20.1 · 19 мая 2025 г.

Fixed bug where attributes weren't stacking in different armor pieces

Removed need for UUIDs altogether, although you can still specify them

Fixed bug where if you had two items in the same curios slot(E.g two rings) the attributes didn't stack

Комментарии

Загружаем…