HomeJavaDatapacksLevel = Attributes
Level = Attributes
DatapacksJava

Level = Attributes

by Ninjaking312 · on Modrinth

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Data pack only.

⬇ Download for 1.21.2–26.2⬇ Download for 1.21–1.21.1⬇ Download for 1.20.5–1.20.6
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
Level = Attributes — screenshot 1Level = Attributes — screenshot 2Level = Attributes — screenshot 3

Level = Attributes

This datapack links each player's attributes to their current experience level. Each time you gain or lose an experience level, your player's attributes will increase or decrease by a certain amount. This datapack also works on multiplayer servers!

Attributes

Attributes are values which dictate certain properties of mobs, specifically players for this datapack. 18 attributes are utilised in this datapack:

You can learn more about each attribute here.

Configuration

To access the configuration scoreboard, run the command /scoreboard objectives setdisplay sidebar level_attributes_config. Here you can configure which attributes you want to enable/disable and set a custom max level. Do note that not all attributes are displayed on the scoreboard at once as there are too many attributes.

Level = Attribute scoreboard for config

Enabling/disabling Attributes

Enabling an attribute links it to your current xp level while disabling unlinks it. All attributes are enabled by default.

Enabling: /scoreboard players set <attribute_name> level_attributes_config 1
Disabling: /scoreboard players set <attribute_name> level_attributes_config 0

Setting Custom Max Level

max_level refers to the maximum xp level that each enabled attribute will scale towards. This means the higher the max_level, the slower each attribute increases towards its max value with each xp level gained. The default max_level is set to 1000. To customise it, run /scoreboard players set max_level level_attributes_config <level>. Valid values are integers between 10 and 1,000,000. Setting a value outside this range may break the datapack!

Other Things To Note...


This datapack was originally inspired by Level = Border and the newly added attributes in Minecraft Snapshot 23w51a.

Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

Verified by MCModsHub

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

Explore more