public class IngredientComponentStorageSlottedInsertProxy<T,M>
extends java.lang.Object
implements org.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorageSlotted<T,M>
| Constructor and Description |
|---|
IngredientComponentStorageSlottedInsertProxy(org.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorage<T,M> storage) |
| Modifier and Type | Method and Description |
|---|---|
T |
extract(int slot,
long quantity,
boolean simulate) |
T |
extract(long quantity,
boolean simulate) |
T |
extract(T instance,
M matchCondition,
boolean simulate) |
org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<T,M> |
getComponent() |
long |
getMaxQuantity() |
long |
getMaxQuantity(int slot) |
T |
getSlotContents(int slot) |
int |
getSlots() |
T |
insert(int slot,
T instance,
boolean simulate) |
T |
insert(T instance,
boolean simulate) |
java.util.Iterator<T> |
iterator() |
java.util.Iterator<T> |
iterator(T instance,
M matchCondition) |
public int getSlots()
public T getSlotContents(int slot)
public long getMaxQuantity(int slot)
public T extract(int slot, long quantity, boolean simulate)
public org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<T,M> getComponent()
public java.util.Iterator<T> iterator()
public long getMaxQuantity()