Interface NPCComposition

    • Method Detail

      • getName

        java.lang.String getName()
        Gets the name of the NPC.
      • getModels

        int[] getModels()
        Gets the model IDs that compose this NPC.
      • isClickable

        boolean isClickable()
      • isInteractible

        boolean isInteractible()
        NPC can be interacting with via menu options
      • isMinimapVisible

        boolean isMinimapVisible()
        Gets whether the NPC is visible on the mini-map.
      • isVisible

        boolean isVisible()
      • getId

        int getId()
        Gets the ID of the NPC.
        See Also:
      • getCombatLevel

        int getCombatLevel()
        the combat level, -1 if none
      • getConfigs

        int[] getConfigs()
        Get the NpcIDs of NPCs this can transform into, depending on a Varbits or VarPlayer
      • transform

        NPCComposition transform()
        Get the NPC composition the player's state says this NPC should transmogrify into.
        java.lang.NullPointerException - if getConfigs() is null
      • getSize

        int getSize()
        How many tiles wide this NPC is
      • getOverheadIcon

        HeadIcon getOverheadIcon()
        Gets the displayed overhead icon of the NPC.