COWMODSКаталог модов

Level = Attributes

This datapack links each player's attributes to their current experience level.

Автор: Ninjaking3128684обновлён 23 окт. 2024 г.
ПроклятыеМеханики игры

Описание

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:

  • scale
  • max_health
  • max_absorption
  • knockback_resistance
  • movement_speed
  • attack_damage
  • armor
  • armor_toughness
  • step_height‌
  • attack_speed
  • luck
  • block_interaction_range‌
  • entity_interaction_range‌
  • gravity
  • safe_fall_distance
  • fall_damage_multiplier
  • block_break_speed
  • jump_strength

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...

  • Run the command /trigger level_attributes_list to see the current values of all your player's attributes.
  • If you want to remove the datapack, run the command /function level_attributes:uninstall and then disable/delete the datapack

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

Галерея

experienced_configXP Level 0XP Level 1000

Последние версии

Все версии →
release

Level = Attributes 1.0.2

1.0.2
23 окт. 2024 г.411Minecraft: 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2, 26.3datapack
Скачать
Что нового
Updated for 1.21.2
release

Level = Attributes 1.0.1

1.0.1
13 июн. 2024 г.171Minecraft: 1.21, 1.21.1datapack
Скачать
Что нового
Updated for 1.21
release

Level = Attributes 1.0.0

1.0.0
24 апр. 2024 г.102Minecraft: 1.20.5, 1.20.6datapack
Скачать
Что нового
Renamed from "Experienced" to "Level = Attributes".
beta

Experienced 0.4.0 (Beta)

0.4.0
9 февр. 2024 г.47Minecraft: 24w06adatapack
Скачать
Что нового
Added 5 new attributes introduced in Snapshot 24w06a, that is `block_break_speed`, `jump_strength`, `fall_damage_multiplier`, `safe_fall_distance` and `gravity`. Previously, the minimum and maximum values for each attribute were based on the game's minimum and maximum values. With the addition of the new attributes, it is no longer suitable to continue following the game's min/max values. Thus, custom, more reasonable min/max values have been set for various attributes. With this change, all attributes are now enabled by default.
beta

Experienced 0.3.0 (Beta)

0.3.0
28 янв. 2024 г.43Minecraft: 24w04adatapack
Скачать
Что нового
Major code cleanup which should improve performance.
beta

Experienced 0.2.0 (Beta)

0.2.0
19 янв. 2024 г.43Minecraft: 24w03bdatapack
Скачать
Что нового
Update entity/block interaction range attributes to match Snapshot 24w03b changes.
beta

Experienced 0.1.0 (Beta)

0.1.0
27 дек. 2023 г.51Minecraft: 23w51bdatapack
Скачать
Что нового
The first beta release! Version 1.0.0 will release when 1.20.5 releases.