Package com.epicbot.api.shared.entity
Interface NPC
-
- All Superinterfaces:
Actionable
,Actor
,Animable
,Clickable
,GameEntity
,Identifiable
,Interactable
,Locatable
,LocatableEntity
,Modeled
,Nameable
,Renderable
,Rotatable
,Validatable
public interface NPC extends Actor, Actionable
An non-player character in the game.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description int
getCombatLevel()
Gets the combat level of this character.short[]
getOverheadIcons()
The icons above this npc.default HeadIcon[]
getOverheadIconTypes()
The icons above this npc.boolean
isClickable()
Gets whether or not this character is clickable.-
Methods inherited from interface com.epicbot.api.shared.entity.details.Actionable
getActions, hasAction, hasActionMatch
-
Methods inherited from interface com.epicbot.api.shared.entity.Actor
getDestination, getHealthPercent, getHeight, getHitsplatCycles, getHitsplatTypes, getHitsplatValues, getInteracting, getMessage, getPathSize, getPathX, getPathY, getServerLocation, getSpecialHitsplatValues, getWalkingDirection, isAttacking, isDead, isInCombat, isInteractingWithMe, isMoving
-
Methods inherited from interface com.epicbot.api.shared.entity.details.Animable
getAnimation, getIdleAnimation, isAnimating
-
Methods inherited from interface com.epicbot.api.shared.entity.details.Clickable
click, click, hover
-
Methods inherited from interface com.epicbot.api.shared.entity.details.Identifiable
getId
-
Methods inherited from interface com.epicbot.api.shared.entity.details.Interactable
interact, interact, interact, interact, interact, interactMatch
-
Methods 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
-
Methods inherited from interface com.epicbot.api.shared.entity.details.Modeled
getModel, getModelHeight, getModelId
-
Methods inherited from interface com.epicbot.api.shared.entity.details.Renderable
contains, draw, getCentralPoint, getRandomPoint, getRealCentralPoint, isVisible
-
Methods inherited from interface com.epicbot.api.shared.entity.details.Rotatable
getDirection, getRotation, isFacing, isFacingMe
-
Methods inherited from interface com.epicbot.api.shared.entity.details.Validatable
isValid
-
-
-
-
Method Detail
-
getCombatLevel
int getCombatLevel()
Gets the combat level of this character.- Returns:
- int
-
isClickable
boolean isClickable()
Gets whether or not this character is clickable.- Returns:
- int
-
getOverheadIcons
short[] getOverheadIcons()
The icons above this npc.- Returns:
- int[]
-
getOverheadIconTypes
default HeadIcon[] getOverheadIconTypes()
The icons above this npc.- Returns:
- HeadIcon[]
-
-