Class EntityStrengthComponentBeta

Defines the entity's strength to carry items.

Hierarchy

Constructors

Properties

Constructors

Properties

max: number

Remarks

Maximum strength of this entity, as defined in the entity type definition.

Throws

This property can throw when used.

typeId: string
value: number

Remarks

Current strength value of this entity, after any effects or component updates are applied.

Throws

This property can throw when used.

componentId: "minecraft:strength" = 'minecraft:strength'

Remarks

Identifier of this component. Should always be minecraft:strength.