Package net.storm.sdk.items
Class Inventory
java.lang.Object
net.storm.sdk.items.Inventory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancontains(int... id) static booleanstatic booleanstatic booleancontainsAll(int... ids) static booleancontainsAll(String... names) static IInventoryItemget(int slot) static List<IInventoryItem> getAll()static List<IInventoryItem> getAll(int... ids) static List<IInventoryItem> static List<IInventoryItem> getAll(Predicate<? super IInventoryItem> filter) static intgetCount(boolean stacks, int... ids) static intstatic intgetCount(boolean stacks, Predicate<? super IInventoryItem> filter) static intgetCount(int... ids) static intstatic intgetCount(Predicate<? super IInventoryItem> filter) static IInventoryItemgetFirst(int... ids) static IInventoryItemstatic IInventoryItemgetFirst(Predicate<? super IInventoryItem> filter) static intstatic IInventoryItemgetLast(int... ids) static IInventoryItemstatic IInventoryItemgetLast(Predicate<? super IInventoryItem> filter) static booleanisEmpty()static booleanisFull()
-
Constructor Details
-
Inventory
public Inventory()
-
-
Method Details
-
getAll
-
getAll
-
getAll
-
getAll
-
get
-
getFirst
-
getFirst
-
getFirst
-
getLast
-
getLast
-
getLast
-
contains
-
contains
public static boolean contains(int... id) -
contains
-
containsAll
public static boolean containsAll(int... ids) -
containsAll
-
getCount
-
getCount
public static int getCount(boolean stacks, int... ids) -
getCount
-
getCount
-
getCount
public static int getCount(int... ids) -
getCount
-
isFull
public static boolean isFull() -
isEmpty
public static boolean isEmpty() -
getFreeSlots
public static int getFreeSlots()
-