Interface Actor

All Superinterfaces:
net.runelite.api.Actor, net.runelite.api.CameraFocusableEntity, net.runelite.api.Node, net.runelite.api.Renderable

public interface Actor extends net.runelite.api.Actor
Represents an actor entity in the game world.

An actor is any entity that can perform actions and be interacted with in the game, such as players and NPCs. This interface extends the RuneLite API's Actor interface to provide additional functionality specific to the Storm API.

Actors have health bars that display their current health status, which can be accessed through this interface.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the collection of health bars associated with this actor.

    Methods inherited from interface net.runelite.api.Actor

    clearSpotAnims, createSpotAnim, getAnimation, getAnimationFrame, getAnimationHeightOffset, getCanvasImageLocation, getCanvasSpriteLocation, getCanvasTextLocation, getCanvasTilePoly, getCombatLevel, getConvexHull, getCurrentOrientation, getGraphic, getGraphicHeight, getHealthRatio, getHealthScale, getIdlePoseAnimation, getIdleRotateLeft, getIdleRotateRight, getInteracting, getLocalLocation, getLogicalHeight, getMinimapLocation, getName, getOrientation, getOverheadCycle, getOverheadText, getPoseAnimation, getPoseAnimationFrame, getRunAnimation, getSpotAnimFrame, getSpotAnims, getWalkAnimation, getWalkRotate180, getWalkRotateLeft, getWalkRotateRight, getWorldArea, getWorldLocation, getWorldView, hasSpotAnim, isDead, isInteracting, removeSpotAnim, setActionFrame, setAnimation, setAnimationFrame, setDead, setGraphic, setGraphicHeight, setIdlePoseAnimation, setIdleRotateLeft, setIdleRotateRight, setOverheadCycle, setOverheadText, setPoseAnimation, setPoseAnimationFrame, setRunAnimation, setSpotAnimFrame, setWalkAnimation, setWalkRotate180, setWalkRotateLeft, setWalkRotateRight

    Methods inherited from interface net.runelite.api.CameraFocusableEntity

    getCameraFocus

    Methods inherited from interface net.runelite.api.Node

    getHash, getNext, getPrevious

    Methods inherited from interface net.runelite.api.Renderable

    getModel, getModelHeight, setModelHeight
  • Method Details

    • getHealthBars

      IterableNodeDeque getHealthBars()
      Gets the collection of health bars associated with this actor.

      Health bars are visual indicators that show the actor's current health status. An actor may have multiple health bars in certain situations, such as when multiple entities are targeting the same actor.

      Returns:
      an IterableNodeDeque containing the health bars for this actor, or an empty deque if no health bars are present