Class Pickable

All Implemented Interfaces:
Actionable, Identifiable, Interactable, Nameable, SceneNode

public class Pickable extends Entity<RSPickable> implements Identifiable, Nameable
  • Constructor Details

    • Pickable

      public Pickable(RSPickable provider, Position position)
    • Pickable

      public Pickable(RSPickable provider, int x, int y, int floorLevel)
  • Method Details

    • getPosition

      public Position getPosition()
      Specified by:
      getPosition in interface SceneNode
      Specified by:
      getPosition in class Entity<RSPickable>
    • actionOf

      public MenuAction actionOf(String action)
      Specified by:
      actionOf in interface Interactable
    • getRawActions

      public String[] getRawActions()
      Specified by:
      getRawActions in interface Actionable
    • getActions

      public List<String> getActions()
      Specified by:
      getActions in interface Actionable
    • getDefinition

      public ItemDefinition getDefinition()
    • getRevealTick

      public int getRevealTick()
    • getDespawnTick

      public int getDespawnTick()
    • getOwnerType

      public int getOwnerType()
      Ownership table: ``` | Id | Ownership Type | |----|:--------------:| | 0 | None | | 1 | Self Player | | 2 | Other Player | | 3 | Group Ironman | ``` Note that if the player and the drop source are both regular accounts, both will share the same group ironman id of -1 so the server is bugged to send 3 in this instance.
      Returns:
      Owner type
    • isNeverRevealed

      public boolean isNeverRevealed()
    • getId

      public int getId()
      Specified by:
      getId in interface Identifiable
    • getStackSize

      public int getStackSize()
    • getName

      public String getName()
      Specified by:
      getName in interface Nameable