StackType
- public interface IMEInventoryHandler<StackType extends IAEStack> extends IMEInventory<StackType>
Modifier and Type | Method and Description |
---|---|
boolean |
canAccept(StackType input)
determine if an item can be accepted and stored.
|
AccessRestriction |
getAccess()
determine if items can be injected/extracted.
|
int |
getPriority()
determine what the priority of the inventory is.
|
int |
getSlot()
pass back value for blinkCell.
|
boolean |
isPrioritized(StackType input)
determine if a particular item is prioritized for this inventory handler, if it is, then it will be added to this
inventory prior to any non-prioritized inventories.
|
boolean |
validForPass(int i)
AE Uses a two pass placement system, the first pass checks contents and tries to find a place where the item
belongs, however in some cases you can save processor time, or require that the second, or first pass is simply
ignored, this allows you to do that.
|
extractItems, getAvailableItems, getChannel, injectItems
AccessRestriction getAccess()
boolean isPrioritized(StackType input)
input
- - item that might be addedboolean canAccept(StackType input)
input
- - item that might be addedint getPriority()
int getSlot()
ICellContainer
will be called with this value, only trust the return value of this method if you
are the implementer of this.boolean validForPass(int i)
i
- - pass number ( 1 or 2 )