▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Stamina Attributes
Stamina Attributes

Stamina Attributes

A small API that adds a stamina system controlled by entity attributes.

31.5K
25

3.3.0

release12 апреля 2026 г.

3.3.0

Additions

  • added "jumping_in_water_requires_stamina" server config option, which controls whether the player can jump/ascend in water while stamina is below zero

Changes

  • the "block_breaking_requires_stamina" feature now stops a block breaking process when the player runs out of stamina

Fixes

  • fixed an issue where players could not attack when stamina was below zero, even if the "attacking_requires_stamina" server config option as set to false
  • fixed an issue where sprinting/swimming would not stop when stamina falls below zero, while stamina is required for the action
  • fixed an issue where swimming could not be started while sprinting is not possible due to low stamina
  • fixed an issue where respawning would no longer reset stamina after re-joining a world
  • fixed log spam

3.2.0

release17 февраля 2026 г.

3.2.0

Additions

  • added "staminaattributes:add_stamina" enchantment effect
  • added "staminaattributes:stamina_using_entity" entity sub predicate
  • the stamina icon bar now blinks when stamina changes, similar to the vanilla health bar. This can be disabled in the client config.
  • the stamina icon bar now displays reserved stamina

Changes

  • changed default exhaustion effect to "minecraft:slowness"
  • slightly increased the default stamina regeneration delay for players

Technical

  • replace synced data with a data attachment, following the best practice for custom entity data

3.1.0

release25 января 2026 г.

3.1.0

  • updated to 1.21.11
  • migrated to Mojang Mappings

3.0.0

release25 октября 2025 г.

3.0.0

  • updated to 1.21.10

Additions

  • added entity attributes, that define stamina costs for various in game actions:
    • "staminaattributes:attack_blocking_action_stamina_cost", applied when blocking an attack while using an item with the "blocks_attacks" component
    • "staminaattributes:attacking_action_stamina_cost", applied when attacking an entity
    • "staminaattributes:block_breaking_action_stamina_cost", applied when breaking a block
  • added several server config options for fine-tuning the new attributes

Changes

  • removed "generic." prefix from all entity attributes, following vanillas example

2.9.2

release5 октября 2025 г.

2.9.2

  • fixed stamina bar being empty when joining a world for the first time
  • fixed sprint jumping stamina cost
  • bumped various dependency versions

Совместимость

Minecraft: Java Edition

1.21.x1.20.x

Платформы

Поддерживаемые окружения

Клиент и сервер

Создатели

Детали

Лицензия:MIT
Опубликован:1 год назад
Обновлён:2 дня назад
Главная