Interface Player

All Superinterfaces:
Actionable, Actor, Animable, Clickable, GameEntity, Identifiable, Interactable, Locatable, LocatableEntity, Modeled, Nameable, Renderable, Rotatable, Validatable

public interface Player extends Actor
An non-player character in the game.
  • Method Details

    • getCleanName

      String getCleanName()
      Gets the clean name of this player.
      Returns:
      String
    • getAppearanceIds

      int[] getAppearanceIds()
      Gets the appearance ids of this player.
      Returns:
      int[]
    • getNPCTransformationId

      int getNPCTransformationId()
      Gets the id of this player when in npc-based form. For example when transforming to a monkey on Ape Atoll.
      Returns:
      the npc id
    • getCombatLevel

      int getCombatLevel()
      Gets the combat level of this player.
      Returns:
      int
    • getTeam

      int getTeam()
      Gets the team id of this player.
      Returns:
      int
    • getPrayerIcon

      int getPrayerIcon()
      Gets the prayer icon above this players head.
      Returns:
      int
    • getOverheadIconType

      default HeadIcon getOverheadIconType()
    • getSkullIcon

      int getSkullIcon()
      Gets the skull icon above this players head.
      Returns:
      int
    • getSkullIconType

      default SkullIcon getSkullIconType()