Package com.epicbot.api.shared.entity
Interface Player
- All Superinterfaces:
Actionable,Actor,Animable,Clickable,GameEntity,Identifiable,Interactable,Locatable,LocatableEntity,Modeled,Nameable,Renderable,Rotatable,Validatable
An non-player character in the game.
-
Method Summary
Modifier and TypeMethodDescriptionint[]Gets the appearance ids of this player.Gets the clean name of this player.intGets the combat level of this player.intGets the id of this player when in npc-based form.default HeadIconintGets the prayer icon above this players head.intGets the skull icon above this players head.default SkullIconintgetTeam()Gets the team id of this player.Methods inherited from interface com.epicbot.api.shared.entity.details.Actionable
getActions, hasAction, hasActionMatchMethods inherited from interface com.epicbot.api.shared.entity.Actor
getDestination, getHealthPercent, getHealthPercent, getHitsplatCycles, getHitsplatTypes, getHitsplatValues, getInteracting, getMessage, getPathSize, getPathX, getPathY, getServerLocation, getSpotAnimationIds, getWalkingDirection, isAttacking, isDead, isInCombat, isInteractingWithMe, isMovingMethods inherited from interface com.epicbot.api.shared.entity.details.Animable
getAnimation, getIdleAnimation, isAnimatingMethods inherited from interface com.epicbot.api.shared.entity.details.Clickable
click, click, hoverMethods inherited from interface com.epicbot.api.shared.entity.details.Identifiable
getIdMethods inherited from interface com.epicbot.api.shared.entity.details.Interactable
interact, interact, interact, interact, interactMatchMethods inherited from interface com.epicbot.api.shared.entity.details.Locatable
canReach, canReach, canReach, derive, derive, distanceTo, distanceTo, getArea, getArea, getLocation, getMapPoint, getPlane, getSceneOffset, getX, getY, isOnMap, randomize, randomize, randomize, tileDistanceTo, tileDistanceToMethods inherited from interface com.epicbot.api.shared.entity.details.Modeled
getModelHeightMethods inherited from interface com.epicbot.api.shared.entity.details.Renderable
contains, draw, draw, draw, getCentralPoint, getRandomPoint, getRealCentralPoint, isVisibleMethods inherited from interface com.epicbot.api.shared.entity.details.Rotatable
getDirection, getRotation, isFacing, isFacingMeMethods inherited from interface com.epicbot.api.shared.entity.details.Validatable
isValid
-
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
-
getSkullIcon
int getSkullIcon()Gets the skull icon above this players head.- Returns:
- int
-
getSkullIconType
-