Back to mods
AttributeSetter project artwork

Modrinth · Minecraft mod

AttributeSetter

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

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which AttributeSetter release should I use?

Updated 2 months ago
Latest stable file 2.2.1-neoforge
Game version 1.21.1
Loader NeoForge

AttributeSetter 2.2.1-neoforge targets 1.21.1 with NeoForge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is AttributeSetter required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does AttributeSetter 2.2.1-neoforge need?

2.2.1-neoforge. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add AttributeSetter without breaking your instance.

Built for AttributeSetter 2.2.1-neoforge. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 2.2.1-neoforge. It targets 1.21.1 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 2.2.1-neoforge. It opens that exact file at the source.

About this project

What does AttributeSetter add?

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!

Project description from Modrinth.

Pick your setup

AttributeSetter by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

18 available setups

Showing the newest 12 of 15 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

AttributeSetter versions and loaders

30 of 30 releases match

Looking for an older file? The official Modrinth project page is in Resources.