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

    Defines the interactions with this entity for healing it.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    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
    componentId: "minecraft:healable" = 'minecraft:healable'

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

    Methods

    • Beta

      Returns FeedItem[]

      A set of items that can specifically heal this entity.

      This function can't be called in read-only mode.

      This function can throw errors.