Package org.dreambot.api.methods.item
Class GroundItems
- java.lang.Object
-
- org.dreambot.api.methods.interactive.Interactables<GroundItem>
-
- org.dreambot.api.methods.item.GroundItems
-
public class GroundItems extends Interactables<GroundItem>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<GroundItem>
all()
static java.util.List<GroundItem>
all(java.lang.Integer... ids)
static java.util.List<GroundItem>
all(java.lang.String... names)
static java.util.List<GroundItem>
all(Filter<GroundItem> filter)
static GroundItem
closest(java.lang.Integer... ids)
static GroundItem
closest(java.lang.String... names)
static GroundItem
closest(Filter<GroundItem> filter)
static GroundItem
closest(Filter<GroundItem> filter, Tile toTile)
static java.util.List<GroundItem>
getForTile(Tile t)
-
-
-
Method Detail
-
all
public static java.util.List<GroundItem> all()
-
getForTile
public static java.util.List<GroundItem> getForTile(Tile t)
- Parameters:
t
- The tile to check for items on- Returns:
- List of items found on tile, if none or tile is not local it will return an empty list
-
all
public static java.util.List<GroundItem> all(java.lang.Integer... ids)
-
all
public static java.util.List<GroundItem> all(java.lang.String... names)
-
all
public static java.util.List<GroundItem> all(Filter<GroundItem> filter)
-
closest
public static GroundItem closest(java.lang.String... names)
-
closest
public static GroundItem closest(java.lang.Integer... ids)
-
closest
public static GroundItem closest(Filter<GroundItem> filter)
-
closest
public static GroundItem closest(Filter<GroundItem> filter, Tile toTile)
-
-