Wiki 9Minecraft Wiki 9Minecraft
Minecraft Legends › Entities › badger:stamina

badger:stamina

Minecraft Legends

Entities
Official docs

Defines the settings required for stamina depletion.

TypeNameDefault ValueDescription
Decimalcan_regen_during_exhaustedAllows regeneration while exhausted.
Decimaldepletion_rateDefines the rate at which stamina is depleted (per tick).
Decimalexhaust_restore_thresholdExhausted state will end once stamina is above this % threshold. [0-1]. A value of -1 disables this feature.
Decimalexhausted_cooldownDefines how long an entity will be exhausted for once stamina is depleted.
Decimalmax_staminaDefines the maximum amount of stamina for an entity.
Decimalregen_cooldownDefines how long it will take to start regenerating stamina, NOT from exhaustion.
Decimalregen_rateDefines the rate at which stamina will regenerate (per tick).
Decimalstamina_replenish_audio_thresholdStamina must drop below this value in order for the stamina replenished audio event to trigger when it refills.