The EntityExhaustionComponent class in @minecraft/server.
Class in @minecraft/server
Extends EntityAttributeComponent
import { EntityExhaustionComponent } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”componentId
Section titled “componentId”static read-only
static readonly componentId = 'minecraft:player.exhaustion';Inherited
Section titled “Inherited”From EntityAttributeComponent: currentValue, defaultValue, effectiveMax, effectiveMin, resetToDefaultValue, resetToMaxValue, resetToMinValue, setCurrentValue