Download Level = Attributes — Minecraft Mods — MetaMods
Level = Attributes

Level = Attributes

Active

Downloads

0

Last update

1 year ago

Versions

23w51b — 1.21.4
Server
Game mechanics

Level = Attributes

This datapack connects player attributes to their current experience level. Each time you gain or lose a level, your character's parameters will increase or decrease by a specific amount. The datapack fully supports multiplayer servers!

Characteristic System Description

Attributes are numerical values that define various properties of creatures, in this case — players. This datapack utilizes 18 different parameters:

  • scale — character size
  • max_health — maximum health
  • max_absorption — maximum absorption
  • knockback_resistance — knockback resistance
  • movement_speed — movement speed
  • attack_damage — attack damage
  • armor — armor protection
  • armor_toughness — armor toughness
  • step_height — step height
  • attack_speed — attack speed
  • luck — luck
  • block_interaction_range — block interaction distance
  • entity_interaction_range — entity interaction distance
  • gravity — gravity
  • safe_fall_distance — safe fall distance
  • fall_damage_multiplier — fall damage multiplier
  • block_break_speed — block breaking speed
  • jump_strength — jump strength

Detailed information about each attribute can be found on the official Minecraft wiki.

Parameter Configuration

To access the attribute settings panel, execute the command /scoreboard objectives setdisplay sidebar level_attributes_config. In this interface, you can choose which parameters to activate or deactivate, as well as set the maximum level. Not all characteristics are displayed simultaneously due to their large number.

Level = Attributes datapack settings

Activating and Deactivating Characteristics

Activating a parameter links it to your current experience level, while deactivation disables this connection. Initially, all characteristics are enabled.

Activation: /scoreboard players set <attribute_name> level_attributes_config 1

Deactivation: /scoreboard players set <attribute_name> level_attributes_config 0

Setting Maximum Level

The max_level parameter determines the ultimate experience level that active characteristics will scale towards. The higher the max_level value, the slower characteristics grow with each gained experience level. The default value is 1000. To change this parameter, use the command /scoreboard players set max_level level_attributes_config <level>. Valid values are integers from 10 to 1,000,000. Setting values outside this range may break the datapack!

Additional Features

  • Execute the command /trigger level_attributes_list to see the current values of all your character's attributes.
  • To remove the datapack, execute the command /function level_attributes:uninstall, then disable or delete the datapack itself.

This datapack was originally inspired by the Level = Border project and new characteristics introduced in snapshot 23w51a.

Project members
Ninjaking312

Ninjaking312

Developer

Created: 1 Jan 2024

ID: 22109