Class GroundItem
- java.lang.Object
-
- net.eternalclient.api.wrappers.interactives.Entity
-
- net.eternalclient.api.wrappers.interactives.GroundItem
-
- All Implemented Interfaces:
Identifiable
,Interactable
,Positionable
public class GroundItem extends Entity
Represents a ground item with methods for retrieving information about the item and its location.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
GroundItem.State
-
Constructor Summary
Constructors Constructor Description GroundItem(RSTile tile, RSTileItem tileItem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String[]
getActions()
int
getAmount()
java.lang.String
getColoredName()
int
getHeight()
int
getID()
Item
getItem()
int
getLocalX()
int
getLocalY()
RSModel
getModel()
int
getModelRenderHeight()
java.lang.String
getName()
Orientation
getOrientation()
int
getOrientationId()
int
getPlane()
int
getRegionX()
int
getRegionY()
int
getSceneX()
int
getSceneY()
RSTileItem
getTileItem()
EntityType
getType()
int
getWidth()
RSWorldView
getWorldView()
int
getWorldX()
int
getWorldY()
java.lang.String
toString()
void
update(int newQuantity)
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.eternalclient.api.interfaces.Identifiable
containsName, hasID, hasName
-
Methods inherited from interface net.eternalclient.api.interfaces.Interactable
containsAction, getClickBox, getConvexHull, getConvexHullOnScreen, getInteractID, getInteractPoint, getInteractX, getInteractY, getPolygons, getPolygonsOnScreen, hasAction, hasAction, interact, interact, interact, isOnScreen
-
Methods inherited from interface net.eternalclient.api.interfaces.Positionable
canReach, canReach, canReachSurrounding, canReachSurrounding, derive, derive, derive, distance, distance, distanceTo, distanceTo2D, distanceTo2DHypotenuse, distanceToHypotenuse, distanceToPath, draw, drawMinimapDot, drawText, getCanvasTextLocation, getCanvasTilePoly, GetChunkRotation, getLocalTile, getMinimapPoint, getMovementFlags, getRectArea, getRegionId, getRegionTile, getSceneTile, getSurroundingArea, getWalkableTile, getWorldTile, hasLineOfSightTo, hasLineOfSightTo, inLineOfSight, isInArea, isInArea, isInArea2D, isInArea2D, isInMeleeDistance, isInScene, isUnderRoof, locatedAt, pathTo, walkingDistance
-
-
-
-
Constructor Detail
-
GroundItem
public GroundItem(RSTile tile, RSTileItem tileItem)
-
-
Method Detail
-
getWorldView
public RSWorldView getWorldView()
- Specified by:
getWorldView
in interfacePositionable
- Specified by:
getWorldView
in classEntity
-
getTileItem
public RSTileItem getTileItem()
-
getItem
public Item getItem()
-
update
public void update(int newQuantity)
-
getID
public int getID()
-
getName
public java.lang.String getName()
-
getColoredName
public java.lang.String getColoredName()
-
getType
public EntityType getType()
-
getAmount
public int getAmount()
-
getActions
public java.lang.String[] getActions()
-
getPlane
public int getPlane()
-
getWorldX
public int getWorldX()
-
getWorldY
public int getWorldY()
-
getSceneX
public int getSceneX()
-
getSceneY
public int getSceneY()
-
getLocalX
public int getLocalX()
-
getLocalY
public int getLocalY()
-
getRegionX
public int getRegionX()
-
getRegionY
public int getRegionY()
-
getWidth
public int getWidth()
-
getHeight
public int getHeight()
-
getModelRenderHeight
public int getModelRenderHeight()
-
getOrientation
public Orientation getOrientation()
- Specified by:
getOrientation
in classEntity
-
getOrientationId
public int getOrientationId()
- Specified by:
getOrientationId
in classEntity
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
-