public interface IItemList<T extends IAEStack<T>> extends IItemContainer<T>, java.lang.Iterable<T>
IStorageChannel type for non native channels| Modifier and Type | Method and Description |
|---|---|
void |
addCrafting(T option)
add a stack to the list as craftable, this will merge the stack with an item already in the list if found.
|
void |
addRequestable(T option)
add a stack to the list, stack size is used to add to requestable, this will merge the stack with an item already
in the list if found.
|
void |
addStorage(T option)
add a stack to the list stackSize is used to add to stackSize, this will merge the stack with an item already in
the list if found.
|
T |
getFirstItem() |
java.util.Iterator<T> |
iterator()
allows you to iterate the list.
|
void |
resetStatus()
resets stack sizes to 0.
|
int |
size() |
add, findFuzzy, findPrecise, isEmptyvoid addStorage(T option)
option - stacktype optionvoid addCrafting(T option)
option - stacktype optionvoid addRequestable(T option)
option - stacktype optionT getFirstItem()
int size()
java.util.Iterator<T> iterator()
void resetStatus()