Script API - v1.20.0
    Preparing search index...

    Defines the health properties of an entity.

    Hierarchy (View Summary)

    Index

    Properties

    current: number
    entity: Entity

    The entity that owns this component.

    typeId: string

    Identifier of the component.

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

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

    Methods