← Назад к ресурсам

Mana Attributes

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

Modrinth game-mechanics library magic

Описание

# Mana Attributes This API adds a mana system controlled by entity attributes. ## Default implementation LivingEntities can have up to **_manaattributes:max_mana_** amounts of mana. Mana is regenerated by **_manaattributes:mana_regeneration_** every **_manaattributes:mana_tick_threshold_** ticks. When mana is reduced, regeneration is stopped for **_manaattributes:mana_regeneration_delay_threshold_** ticks. When mana is