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 @NonNull java.util.List<@NonNull GroundItem>
all()
static @NonNull java.util.List<@NonNull GroundItem>
all(@NonNull java.lang.Integer... ids)
static @NonNull java.util.List<@NonNull GroundItem>
all(@NonNull java.lang.String... names)
static @NonNull java.util.List<@NonNull GroundItem>
all(Filter<GroundItem> filter)
static @Nullable GroundItem
closest(@NonNull java.lang.Integer... ids)
static @Nullable GroundItem
closest(@NonNull java.lang.String... names)
static @Nullable GroundItem
closest(@NonNull Filter<GroundItem> filter)
static @Nullable GroundItem
closest(@NonNull Filter<GroundItem> filter, @NonNull Tile toTile)
static @NonNull java.util.List<@NonNull GroundItem>
getForTile(@NonNull Tile tile)
-
-
-
Method Detail
-
all
public static @NonNull java.util.List<@NonNull GroundItem> all()
-
getForTile
public static @NonNull java.util.List<@NonNull GroundItem> getForTile(@NonNull Tile tile)
- Parameters:
tile
- 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 @NonNull java.util.List<@NonNull GroundItem> all(@NonNull java.lang.Integer... ids)
-
all
public static @NonNull java.util.List<@NonNull GroundItem> all(@NonNull java.lang.String... names)
-
all
public static @NonNull java.util.List<@NonNull GroundItem> all(Filter<GroundItem> filter)
-
closest
public static @Nullable GroundItem closest(@NonNull java.lang.String... names)
-
closest
public static @Nullable GroundItem closest(@NonNull java.lang.Integer... ids)
-
closest
public static @Nullable GroundItem closest(@NonNull Filter<GroundItem> filter)
-
closest
public static @Nullable GroundItem closest(@NonNull Filter<GroundItem> filter, @NonNull Tile toTile)
-
-