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 classGroundItem.State
-
Constructor Summary
Constructors Constructor Description GroundItem(RSTile tile, RSTileItem tileItem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.String[]getActions()intgetAmount()java.lang.StringgetColoredName()intgetHeight()intgetID()ItemgetItem()intgetLocalX()intgetLocalY()RSModelgetModel()intgetModelRenderHeight()java.lang.StringgetName()OrientationgetOrientation()intgetOrientationId()intgetPlane()intgetRegionX()intgetRegionY()intgetSceneX()intgetSceneY()RSTileItemgetTileItem()EntityTypegetType()intgetWidth()RSWorldViewgetWorldView()intgetWorldX()intgetWorldY()java.lang.StringtoString()voidupdate(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:
getWorldViewin interfacePositionable- Specified by:
getWorldViewin 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:
getOrientationin classEntity
-
getOrientationId
public int getOrientationId()
- Specified by:
getOrientationIdin classEntity
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-