public interface IItemList<StackType extends IAEStack> extends IItemContainer<StackType>, java.lang.Iterable<StackType>
Don't Implement.
Construct with Util.createItemList()
Modifier and Type | Method and Description |
---|---|
void |
addCrafting(StackType 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(StackType 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(StackType 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.
|
StackType |
getFirstItem() |
java.util.Iterator<StackType> |
iterator()
allows you to iterate the list.
|
void |
resetStatus()
resets stack sizes to 0.
|
int |
size() |
add, findFuzzy, findPrecise, isEmpty
void addStorage(StackType option)
option
- stacktype optionvoid addCrafting(StackType option)
option
- stacktype optionvoid addRequestable(StackType option)
option
- stacktype optionStackType getFirstItem()
int size()
java.util.Iterator<StackType> iterator()
void resetStatus()