Class LootInventory


  • @Deprecated
    public final class LootInventory
    extends java.lang.Object
    Deprecated.
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static boolean close()
      Deprecated.
       
      static boolean close​(boolean hotkey)
      Deprecated.
       
      static boolean contains​(int id)
      Deprecated.
      Checks if any items match the given id
      static boolean contains​(java.lang.String name)
      Deprecated.
      Checks if any items match the given name
      static boolean contains​(java.util.function.Predicate<SpriteItem> filter)
      Deprecated.
      Checks if any items match the given filter
      static boolean contains​(java.util.regex.Pattern name)
      Deprecated.
      Checks if any items match the given name
      static boolean containsAllOf​(int... ids)
      Deprecated.
      Checks if all of the supplied ids match at least one item each
      static boolean containsAllOf​(java.lang.String... names)
      Deprecated.
      Checks if all of the supplied names match at least one item each
      static boolean containsAllOf​(java.util.function.Predicate<SpriteItem> predicate)
      Deprecated.
      Checks if the supplied filter matches at least one item
      static boolean containsAllOf​(java.util.function.Predicate<SpriteItem>... filters)
      Deprecated.
      Checks if all of the supplied filters match at least one item each
      static boolean containsAllOf​(java.util.regex.Pattern... names)
      Deprecated.
      Checks if all of the supplied names match at least one item each
      static boolean containsAnyExcept​(int... ids)
      Deprecated.
      Checks if any items don't match the given ids
      static boolean containsAnyExcept​(java.lang.String... names)
      Deprecated.
      Checks if any items don't match the given names
      static boolean containsAnyExcept​(java.util.function.Predicate<SpriteItem> filter)
      Deprecated.
      Checks if any items don't match the given filter
      static boolean containsAnyExcept​(java.util.function.Predicate<SpriteItem>... filters)
      Deprecated.
      Checks if any items don't match the given filters
      static boolean containsAnyExcept​(java.util.regex.Pattern... names)
      Deprecated.
      Checks if any items don't match the given names
      static boolean containsAnyOf​(int... ids)
      Deprecated.
      Checks if any item matches the given ids
      static boolean containsAnyOf​(java.lang.String... names)
      Deprecated.
      Checks if any item matches the given names
      static boolean containsAnyOf​(java.util.function.Predicate<SpriteItem> filter)
      Deprecated.
      Checks if any item matches the given filter
      static boolean containsAnyOf​(java.util.function.Predicate<SpriteItem>... filters)
      Deprecated.
      Checks if any item matches the given filters
      static boolean containsAnyOf​(java.util.regex.Pattern... names)
      Deprecated.
      Checks if any item matches the given names
      static boolean containsOnly​(java.lang.String... names)
      Deprecated.
      Checks if all of the items match the given names
      static boolean containsOnly​(java.util.function.Predicate<SpriteItem> filter)
      Deprecated.
      Checks if all of the items match the given filter
      static boolean containsOnly​(java.util.function.Predicate<SpriteItem>... filters)
      Deprecated.
      Checks if all of the items match the given filters
      static boolean containsOnly​(java.util.regex.Pattern... names)
      Deprecated.
      Checks if all of the items match the given names
      static java.util.List<InteractableRectangle> getBounds()
      Deprecated.
       
      static InteractableRectangle getBoundsOf​(int index)
      Deprecated.
       
      static SpriteItem getItemIn​(int index)
      Deprecated.
       
      static SpriteItemQueryResults getItems()
      Deprecated.
       
      static SpriteItemQueryResults getItems​(java.util.function.Predicate<SpriteItem> filter)
      Deprecated.
       
      static int getQuantity()
      Deprecated.
      Gets the total quantity of items
      static int getQuantity​(int... ids)
      Deprecated.
      Gets the total quantity of items matching the ids
      static int getQuantity​(java.lang.String... names)
      Deprecated.
      Gets the total quantity of items matching the names
      static int getQuantity​(java.util.function.Predicate<SpriteItem> filter)
      Deprecated.
      Gets the total quantity of items matching the filter
      static int getQuantity​(java.util.function.Predicate<SpriteItem>... filters)
      Deprecated.
      Gets the total quantity of items matching the filters
      static int getQuantity​(java.util.regex.Pattern... names)
      Deprecated.
      Gets the total quantity of items matching the names
      static InteractableRectangle getViewport()
      Deprecated.
       
      static boolean isAreaLootEnabled()
      Deprecated.
       
      static boolean isEnabled()
      Deprecated.
       
      static boolean isOpen()
      Deprecated.
       
      static boolean lootAll()
      Deprecated.
       
      static boolean lootAll​(boolean hotkeys)
      Deprecated.
       
      static boolean lootCustom()
      Deprecated.
       
      static SpriteItemQueryBuilder newQuery()
      Deprecated.
       
      static boolean take​(SpriteItem item)
      Deprecated.
       
      static boolean take​(java.lang.String... names)
      Deprecated.
       
      static boolean takeAll()
      Deprecated.
      static boolean takeAll​(boolean hotkeys)
      Deprecated.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • contains

        public static boolean contains​(java.util.function.Predicate<SpriteItem> filter)
        Deprecated.
        Checks if any items match the given filter
        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 supplied filter 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 supplied filters 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 given filter
        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 given filters
        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 given filter
        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 given filters
        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 given filter
        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 given filters
        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 the filters
        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
      • close

        public static boolean close()
        Deprecated.
      • close

        public static boolean close​(boolean hotkey)
        Deprecated.
      • getItemIn

        public static SpriteItem getItemIn​(int index)
        Deprecated.
      • isAreaLootEnabled

        public static boolean isAreaLootEnabled()
        Deprecated.
      • isEnabled

        public static boolean isEnabled()
        Deprecated.
      • isOpen

        public static boolean isOpen()
        Deprecated.
      • take

        public static boolean take​(java.lang.String... names)
        Deprecated.
      • take

        public static boolean take​(SpriteItem item)
        Deprecated.
      • takeAll

        @Deprecated
        public static boolean takeAll()
        Deprecated.
      • takeAll

        @Deprecated
        public static boolean takeAll​(boolean hotkeys)
        Deprecated.
      • lootAll

        public static boolean lootAll()
        Deprecated.
      • lootAll

        public static boolean lootAll​(boolean hotkeys)
        Deprecated.
      • lootCustom

        public static boolean lootCustom()
        Deprecated.