Package net.runelite.api
Interface TileItem
-
- All Superinterfaces:
Node
,Renderable
public interface TileItem extends Renderable
Represents an item inside anItemLayer
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getDespawnTime()
Get the time, in server ticks, when the item despawns, relative to the spawn time.int
getId()
int
getQuantity()
int
getVisibleTime()
Get the time, in server ticks, when the item becomes visible to other players, relative to the spawn time.-
Methods inherited from interface net.runelite.api.Node
getHash, getNext, getPrevious
-
Methods inherited from interface net.runelite.api.Renderable
draw, getModel, getModelHeight, setModelHeight
-
-
-
-
Method Detail
-
getId
int getId()
- Returns:
- the ID of the item
- See Also:
ItemID
-
getQuantity
int getQuantity()
-
getDespawnTime
int getDespawnTime()
Get the time, in server ticks, when the item despawns, relative to the spawn time.- Returns:
-
getVisibleTime
int getVisibleTime()
Get the time, in server ticks, when the item becomes visible to other players, relative to the spawn time.- Returns:
-
-