Package gripe._90.megacells.item.cell
Class BulkCellInventory
java.lang.Object
gripe._90.megacells.item.cell.BulkCellInventory
- All Implemented Interfaces:
appeng.api.storage.cells.StorageCell,appeng.api.storage.MEStorage
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongextract(appeng.api.stacks.AEKey what, long amount, appeng.api.config.Actionable mode, appeng.api.networking.security.IActionSource source) voidgetAvailableStacks(appeng.api.stacks.KeyCounter out) intnet.minecraft.world.item.ItemSet<appeng.api.crafting.IPatternDetails> net.minecraft.network.chat.Componentappeng.api.stacks.AEItemKeydoubleappeng.api.storage.cells.CellStateappeng.api.stacks.AEItemKeylonglonginsert(appeng.api.stacks.AEKey what, long amount, appeng.api.config.Actionable mode, appeng.api.networking.security.IActionSource source) booleanbooleanisPreferredStorageFor(appeng.api.stacks.AEKey what, appeng.api.networking.security.IActionSource source) voidpersist()voidsetCompressionCutoff(int cutoff) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface appeng.api.storage.MEStorage
getAvailableStacks
-
Field Details
-
STACK_LIMIT
public static final long STACK_LIMIT
-
-
Method Details
-
getStatus
public appeng.api.storage.cells.CellState getStatus()- Specified by:
getStatusin interfaceappeng.api.storage.cells.StorageCell
-
getStoredItem
public appeng.api.stacks.AEItemKey getStoredItem() -
getStoredQuantity
public long getStoredQuantity() -
getFilterItem
public appeng.api.stacks.AEItemKey getFilterItem() -
isCompressionEnabled
public boolean isCompressionEnabled() -
getCompressionChain
-
getDecompressionPatterns
-
getIdleDrain
public double getIdleDrain()- Specified by:
getIdleDrainin interfaceappeng.api.storage.cells.StorageCell
-
insert
public long insert(appeng.api.stacks.AEKey what, long amount, appeng.api.config.Actionable mode, appeng.api.networking.security.IActionSource source) - Specified by:
insertin interfaceappeng.api.storage.MEStorage
-
extract
public long extract(appeng.api.stacks.AEKey what, long amount, appeng.api.config.Actionable mode, appeng.api.networking.security.IActionSource source) - Specified by:
extractin interfaceappeng.api.storage.MEStorage
-
persist
public void persist()- Specified by:
persistin interfaceappeng.api.storage.cells.StorageCell
-
setCompressionCutoff
public void setCompressionCutoff(int cutoff) -
getCompressionCutoff
public int getCompressionCutoff() -
getCutoffItem
public net.minecraft.world.item.Item getCutoffItem() -
getAvailableStacks
public void getAvailableStacks(appeng.api.stacks.KeyCounter out) - Specified by:
getAvailableStacksin interfaceappeng.api.storage.MEStorage
-
isPreferredStorageFor
public boolean isPreferredStorageFor(appeng.api.stacks.AEKey what, appeng.api.networking.security.IActionSource source) - Specified by:
isPreferredStorageForin interfaceappeng.api.storage.MEStorage
-
canFitInsideCell
public boolean canFitInsideCell()- Specified by:
canFitInsideCellin interfaceappeng.api.storage.cells.StorageCell
-
getDescription
public net.minecraft.network.chat.Component getDescription()- Specified by:
getDescriptionin interfaceappeng.api.storage.MEStorage
-