All Implemented Interfaces:
Identifiable, Locatable, Verified

public class NPC extends Character
  • Constructor Details

    • NPC

      public NPC(Object reference)
  • Method Details

    • getActions

      public String[] getActions()
      Specified by:
      getActions in class Entity
    • getRecolorOriginal

      public short[] getRecolorOriginal()
    • getRecolorTarget

      public short[] getRecolorTarget()
    • isDrawMinimapDot

      public boolean isDrawMinimapDot()
    • getId

      public int getId()
    • getLevel

      public int getLevel()
      Specified by:
      getLevel in class Character
    • getName

      public String getName()
      Specified by:
      getName in interface Identifiable
      Specified by:
      getName in class Entity
    • getIndex

      public int getIndex()
      Specified by:
      getIndex in class Character
    • setIndex

      @Deprecated public void setIndex(int index)
      Deprecated.
    • getModelIDs

      @Deprecated public int[] getModelIDs()
      Deprecated.
    • getModelIds

      public int[] getModelIds()
    • getSize

      public int getSize()
    • getRealID

      @Deprecated public int getRealID()
      Deprecated.
    • getRealId

      public int getRealId()
    • hasAction

      public boolean hasAction(String... actions)
      Specified by:
      hasAction in class Entity
    • getHeadIconArchiveIds

      public int[] getHeadIconArchiveIds()
    • getHeadIconSpriteIndex

      public short[] getHeadIconSpriteIndex()
    • getArea

      public Area getArea()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getRetextureToReplace

      public short[] getRetextureToReplace()
    • getRetextureToFind

      public short[] getRetextureToFind()
    • getRecoloredTarget

      public short[] getRecoloredTarget()
    • getVarbitID

      @Deprecated public int getVarbitID()
      Deprecated.
    • getVarbitId

      public int getVarbitId()
    • getWalkingAnimation

      public int getWalkingAnimation()
    • getRecoloredOriginal

      public short[] getRecoloredOriginal()
    • getParams

      public Map<Integer,Object> getParams()
    • isFollower

      public boolean isFollower()
    • isLowPriorityFollowerOps

      public boolean isLowPriorityFollowerOps()
    • getCategory

      @Deprecated public int getCategory()
      Deprecated.
    • isRotationFlag

      public boolean isRotationFlag()
    • getAdditionalModels

      public int[] getAdditionalModels()
    • getChildIDs

      @Deprecated public int[] getChildIDs()
      Deprecated.
    • getChildIds

      public int[] getChildIds()
    • getDegreesToTurn

      public int getDegreesToTurn()
    • getIdleAnimation

      public int getIdleAnimation()
    • getLightModifier

      public int getLightModifier()
    • getWidthScale

      public int getWidthScale()
    • getHeightScale

      public int getHeightScale()
    • getVarpID

      @Deprecated public int getVarpID()
      Deprecated.
    • getVarpId

      public int getVarpId()
    • getShadowModifier

      public int getShadowModifier()
    • getTurn180Animation

      public int getTurn180Animation()
    • getTurn90CCWAnimation

      public int getTurn90CCWAnimation()
    • getTurn90CWAnimation

      public int getTurn90CWAnimation()
    • isClickable

      public boolean isClickable()
    • hasRenderPriority

      public boolean hasRenderPriority()
    • getTrueTile

      public Tile getTrueTile()
    • getCurrentOverheadIcons

      public int[] getCurrentOverheadIcons()
    • getCurrentOverheadSpriteIndices

      public short[] getCurrentOverheadSpriteIndices()
    • getModelOverride

      public NpcOverride getModelOverride()
    • getChatHeadModelOverride

      public NpcOverride getChatHeadModelOverride()
    • exists

      public boolean exists()
      Specified by:
      exists in interface Verified
      Overrides:
      exists in class Character