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

    Defines the interactions with this entity for healing it.

    Hierarchy (View Summary)

    Index

    Properties

    entity: Entity

    The entity that owns this component.

    filters: FilterGroup

    A set of filters for when these Healable items would apply.

    This property can throw when used.

    forceUse: boolean

    Determines if an item can be used regardless of the entity being at full health.

    This property can throw when used.

    typeId: string

    Identifier of the component.

    componentId: "minecraft:healable" = 'minecraft:healable'

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

    Methods

    • Beta

      Returns FeedItem[]

      Entity that this component is associated with.

      A set of items that can specifically heal this entity.

      This function can throw errors.