Class EntityStrengthComponentBeta

Defines the entity's strength to carry items.

Hierarchy

Constructors

Properties

Constructors

Properties

entity: Entity

Remarks

The entity that owns this component.

max: number

Remarks

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

Throws

This property can throw when used.

typeId: string

Remarks

Identifier of the component.

value: number
componentId: "minecraft:strength" = 'minecraft:strength'

Remarks

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