Package net.runelite.api
Interface ItemLayer
-
- All Superinterfaces:
TileObject
public interface ItemLayer extends TileObject
Represents a pile of items held by a tile.
-
-
Field Summary
-
Fields inherited from interface net.runelite.api.TileObject
HASH_PLANE_SHIFT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Renderable
getBottom()
Gets the item at the bottom of the pile.int
getHeight()
Gets the height of the layer.Renderable
getMiddle()
Gets the item at the middle of the pile.Renderable
getTop()
Gets the item at the top of the pile.-
Methods inherited from interface net.runelite.api.TileObject
getCanvasLocation, getCanvasLocation, getCanvasTextLocation, getCanvasTilePoly, getClickbox, getHash, getId, getLocalLocation, getMinimapLocation, getPlane, getWorldLocation, getWorldView, getX, getY, getZ
-
-
-
-
Method Detail
-
getHeight
int getHeight()
Gets the height of the layer.- Returns:
- the height
-
getBottom
Renderable getBottom()
Gets the item at the bottom of the pile.- Returns:
- the bottom item
-
getMiddle
Renderable getMiddle()
Gets the item at the middle of the pile.- Returns:
- the middle item
-
getTop
Renderable getTop()
Gets the item at the top of the pile.- Returns:
- the top item
-
-