Class BeastOfBurden
- java.lang.Object
-
- com.runemate.game.api.rs3.local.hud.interfaces.BeastOfBurden
-
@Deprecated public final class BeastOfBurden extends java.lang.Object
Deprecated.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static boolean
close()
Deprecated.Closes your beast of burdens inventorystatic boolean
contains(int id)
Deprecated.Checks if any items match the given idstatic boolean
contains(java.lang.String name)
Deprecated.Checks if any items match the given namestatic boolean
contains(java.util.function.Predicate<SpriteItem> filter)
Deprecated.Checks if any items match the givenfilter
static boolean
contains(java.util.regex.Pattern name)
Deprecated.Checks if any items match the given namestatic boolean
containsAllOf(int... ids)
Deprecated.Checks if all of the supplied ids match at least one item eachstatic boolean
containsAllOf(java.lang.String... names)
Deprecated.Checks if all of the supplied names match at least one item eachstatic boolean
containsAllOf(java.util.function.Predicate<SpriteItem> predicate)
Deprecated.Checks if the suppliedfilter
matches at least one itemstatic boolean
containsAllOf(java.util.function.Predicate<SpriteItem>... filters)
Deprecated.Checks if all of the suppliedfilter
s match at least one item eachstatic boolean
containsAllOf(java.util.regex.Pattern... names)
Deprecated.Checks if all of the supplied names match at least one item eachstatic boolean
containsAnyExcept(int... ids)
Deprecated.Checks if any items don't match the given idsstatic boolean
containsAnyExcept(java.lang.String... names)
Deprecated.Checks if any items don't match the given namesstatic boolean
containsAnyExcept(java.util.function.Predicate<SpriteItem> filter)
Deprecated.Checks if any items don't match the givenfilter
static boolean
containsAnyExcept(java.util.function.Predicate<SpriteItem>... filters)
Deprecated.Checks if any items don't match the givenfilter
sstatic boolean
containsAnyExcept(java.util.regex.Pattern... names)
Deprecated.Checks if any items don't match the given namesstatic boolean
containsAnyOf(int... ids)
Deprecated.Checks if any item matches the given idsstatic boolean
containsAnyOf(java.lang.String... names)
Deprecated.Checks if any item matches the given namesstatic boolean
containsAnyOf(java.util.function.Predicate<SpriteItem> filter)
Deprecated.Checks if any item matches the givenfilter
static boolean
containsAnyOf(java.util.function.Predicate<SpriteItem>... filters)
Deprecated.Checks if any item matches the givenfilter
sstatic boolean
containsAnyOf(java.util.regex.Pattern... names)
Deprecated.Checks if any item matches the given namesstatic boolean
containsOnly(java.lang.String... names)
Deprecated.Checks if all of the items match the given namesstatic boolean
containsOnly(java.util.function.Predicate<SpriteItem> filter)
Deprecated.Checks if all of the items match the givenfilter
static boolean
containsOnly(java.util.function.Predicate<SpriteItem>... filters)
Deprecated.Checks if all of the items match the givenfilter
sstatic boolean
containsOnly(java.util.regex.Pattern... names)
Deprecated.Checks if all of the items match the given namesstatic InteractableRectangle
getBoundsOf(int index)
Deprecated.static SpriteItem
getItemIn(int index)
Deprecated.static SpriteItemQueryResults
getItems()
Deprecated.When the Beast Of Burden interface is open, returns a query containing all items your beast of burden contains.static SpriteItemQueryResults
getItems(java.util.function.Predicate<SpriteItem> filter)
Deprecated.When the Beast Of Burden interface is open, returns a query containing all items your beast of burden contains that match the given filter.static int
getQuantity()
Deprecated.Gets the total quantity of itemsstatic int
getQuantity(int... ids)
Deprecated.Gets the total quantity of items matching the idsstatic int
getQuantity(java.lang.String... names)
Deprecated.Gets the total quantity of items matching the namesstatic int
getQuantity(java.util.function.Predicate<SpriteItem> filter)
Deprecated.Gets the total quantity of items matching the filterstatic int
getQuantity(java.util.function.Predicate<SpriteItem>... filters)
Deprecated.Gets the total quantity of items matching thefilter
sstatic int
getQuantity(java.util.regex.Pattern... names)
Deprecated.Gets the total quantity of items matching the namesstatic java.util.List<InteractableRectangle>
getSlotBounds()
Deprecated.static boolean
isOpen()
Deprecated.Checks whether your beast of burdens inventory is openstatic SpriteItemQueryBuilder
newQuery()
Deprecated.static boolean
open()
Deprecated.Opens your beast of burdens inventorystatic boolean
store(SpriteItem item, int amount)
Deprecated.Stores (deposits) the specified amount of the specified item in the Beast of Burdenstatic boolean
store(java.lang.String name, int amount)
Deprecated.static boolean
store(java.util.function.Predicate<SpriteItem> itemFilter, int amount)
Deprecated.Stores (deposits) the specified amount of the first item that matches the filter.static boolean
withdraw(SpriteItem item, int amount)
Deprecated.Withdraws the specified amount of a specific item from the beast of burden.static boolean
withdraw(java.lang.String name, int amount)
Deprecated.static boolean
withdraw(java.util.function.Predicate<SpriteItem> itemFilter, int amount)
Deprecated.Withdraws the specified amount of the first item that matches the filter from the beast of burden.
-
-
-
Method Detail
-
close
public static boolean close()
Deprecated.Closes your beast of burdens inventory
-
getBoundsOf
public static InteractableRectangle getBoundsOf(int index)
Deprecated.
-
getItemIn
public static SpriteItem getItemIn(int index)
Deprecated.
-
getItems
public static SpriteItemQueryResults getItems()
Deprecated.When the Beast Of Burden interface is open, returns a query containing all items your beast of burden contains.
-
getItems
public static SpriteItemQueryResults getItems(java.util.function.Predicate<SpriteItem> filter)
Deprecated.When the Beast Of Burden interface is open, returns a query containing all items your beast of burden contains that match the given filter.
-
getSlotBounds
public static java.util.List<InteractableRectangle> getSlotBounds()
Deprecated.
-
isOpen
public static boolean isOpen()
Deprecated.Checks whether your beast of burdens inventory is open
-
newQuery
public static SpriteItemQueryBuilder newQuery()
Deprecated.
-
open
public static boolean open()
Deprecated.Opens your beast of burdens inventory
-
store
public static boolean store(java.lang.String name, int amount)
Deprecated.
-
store
public static boolean store(java.util.function.Predicate<SpriteItem> itemFilter, int amount)
Deprecated.Stores (deposits) the specified amount of the first item that matches the filter.
-
store
public static boolean store(SpriteItem item, int amount)
Deprecated.Stores (deposits) the specified amount of the specified item in the Beast of Burden
-
withdraw
public static boolean withdraw(java.lang.String name, int amount)
Deprecated.
-
withdraw
public static boolean withdraw(java.util.function.Predicate<SpriteItem> itemFilter, int amount)
Deprecated.Withdraws the specified amount of the first item that matches the filter from the beast of burden.
-
withdraw
public static boolean withdraw(SpriteItem item, int amount)
Deprecated.Withdraws the specified amount of a specific item from the beast of burden.
-
contains
public static boolean contains(java.util.function.Predicate<SpriteItem> filter)
Deprecated.Checks if any items match the givenfilter
- Parameters:
filter
- the predicate to check the items against- Returns:
- true if an item matches the filter
-
contains
public static boolean contains(int id)
Deprecated.Checks if any items match the given id- Parameters:
id
- the id to check the items against- Returns:
- true if an item matches the id
-
contains
public static boolean contains(java.lang.String name)
Deprecated.Checks if any items match the given name- Parameters:
name
- the name to check the items against- Returns:
- true if an item matches the name
-
contains
public static boolean contains(java.util.regex.Pattern name)
Deprecated.Checks if any items match the given name- Parameters:
name
- the name to check the items against- Returns:
- true if an item matches the name
-
containsAllOf
public static boolean containsAllOf(java.util.function.Predicate<SpriteItem> predicate)
Deprecated.Checks if the suppliedfilter
matches at least one item- Parameters:
predicate
- the predicate to check the items against- Returns:
- true if the predicate matches an item
-
containsAllOf
@SafeVarargs public static boolean containsAllOf(java.util.function.Predicate<SpriteItem>... filters)
Deprecated.Checks if all of the suppliedfilter
s match at least one item each- Parameters:
filters
- the predicates to check the items against- Returns:
- true if all of the predicates have a match
-
containsAllOf
public static boolean containsAllOf(int... ids)
Deprecated.Checks if all of the supplied ids match at least one item each- Parameters:
ids
- the ids to check the items against- Returns:
- true if all of the ids have a match
-
containsAllOf
public static boolean containsAllOf(java.lang.String... names)
Deprecated.Checks if all of the supplied names match at least one item each- Parameters:
names
- the names to check the items against- Returns:
- true if all of the names have a match
-
containsAllOf
public static boolean containsAllOf(java.util.regex.Pattern... names)
Deprecated.Checks if all of the supplied names match at least one item each- Parameters:
names
- the names to check the items against- Returns:
- true if all of the names have a match
-
containsAnyExcept
public static boolean containsAnyExcept(java.util.function.Predicate<SpriteItem> filter)
Deprecated.Checks if any items don't match the givenfilter
- Parameters:
filter
- the predicate to check the items against- Returns:
- true if at least one item doesn't match the filter
-
containsAnyExcept
@SafeVarargs public static boolean containsAnyExcept(java.util.function.Predicate<SpriteItem>... filters)
Deprecated.Checks if any items don't match the givenfilter
s- Parameters:
filters
- the predicates to check the items against- Returns:
- true if at least one item doesn't match the filters
-
containsAnyExcept
public static boolean containsAnyExcept(int... ids)
Deprecated.Checks if any items don't match the given ids- Parameters:
ids
- the ids to check the items against- Returns:
- true if at least one item doesn't match the ids
-
containsAnyExcept
public static boolean containsAnyExcept(java.lang.String... names)
Deprecated.Checks if any items don't match the given names- Parameters:
names
- the names to check the items against- Returns:
- true if at least one item doesn't match the names
-
containsAnyExcept
public static boolean containsAnyExcept(java.util.regex.Pattern... names)
Deprecated.Checks if any items don't match the given names- Parameters:
names
- the names to check the items against- Returns:
- true if at least one item doesn't match the names
-
containsAnyOf
public static boolean containsAnyOf(java.util.function.Predicate<SpriteItem> filter)
Deprecated.Checks if any item matches the givenfilter
- Parameters:
filter
- the filter to check the items against- Returns:
- true if at least one item matches the filter
-
containsAnyOf
@SafeVarargs public static boolean containsAnyOf(java.util.function.Predicate<SpriteItem>... filters)
Deprecated.Checks if any item matches the givenfilter
s- Parameters:
filters
- the filters to check the items against- Returns:
- true if at least one item matches a filter
-
containsAnyOf
public static boolean containsAnyOf(int... ids)
Deprecated.Checks if any item matches the given ids- Parameters:
ids
- the ids to check the items against- Returns:
- true if at least one item matches an id
-
containsAnyOf
public static boolean containsAnyOf(java.lang.String... names)
Deprecated.Checks if any item matches the given names- Parameters:
names
- the names to check the items against- Returns:
- true if at least one item matches a name
-
containsAnyOf
public static boolean containsAnyOf(java.util.regex.Pattern... names)
Deprecated.Checks if any item matches the given names- Parameters:
names
- the names to check the items against- Returns:
- true if at least one item matches a name
-
containsOnly
public static boolean containsOnly(java.util.function.Predicate<SpriteItem> filter)
Deprecated.Checks if all of the items match the givenfilter
- Parameters:
filter
- the filter to check the items against- Returns:
- true if all items match the filter
-
containsOnly
@SafeVarargs public static boolean containsOnly(java.util.function.Predicate<SpriteItem>... filters)
Deprecated.Checks if all of the items match the givenfilter
s- Parameters:
filters
- the filters to check the items against- Returns:
- true if all items match at least one filter each
-
containsOnly
public static boolean containsOnly(java.lang.String... names)
Deprecated.Checks if all of the items match the given names- Parameters:
names
- the filters to check the items against- Returns:
- true if all items match at least one name each
-
containsOnly
public static boolean containsOnly(java.util.regex.Pattern... names)
Deprecated.Checks if all of the items match the given names- Parameters:
names
- the filters to check the items against- Returns:
- true if all items match at least one name each
-
getQuantity
public static int getQuantity()
Deprecated.Gets the total quantity of items- Returns:
- the total quantity of items
-
getQuantity
public static int getQuantity(java.util.function.Predicate<SpriteItem> filter)
Deprecated.Gets the total quantity of items matching the filter- Parameters:
filter
- the filter to check the items against- Returns:
- the total quantity of items matching the filter
-
getQuantity
@SafeVarargs public static int getQuantity(java.util.function.Predicate<SpriteItem>... filters)
Deprecated.Gets the total quantity of items matching thefilter
s- Parameters:
filters
- the filters to check the items against- Returns:
- the total quantity of items matching the filters
-
getQuantity
public static int getQuantity(int... ids)
Deprecated.Gets the total quantity of items matching the ids- Parameters:
ids
- the ids to check the items against- Returns:
- the total quantity of items matching the ids
-
getQuantity
public static int getQuantity(java.lang.String... names)
Deprecated.Gets the total quantity of items matching the names- Parameters:
names
- the ids to check the items against- Returns:
- the total quantity of items matching the names
-
getQuantity
public static int getQuantity(java.util.regex.Pattern... names)
Deprecated.Gets the total quantity of items matching the names- Parameters:
names
- the ids to check the items against- Returns:
- the total quantity of items matching the names
-
-