Class BulkCellInventory

java.lang.Object
gripe._90.megacells.item.cell.BulkCellInventory
All Implemented Interfaces:
appeng.api.storage.cells.StorageCell, appeng.api.storage.MEStorage

public class BulkCellInventory extends Object implements appeng.api.storage.cells.StorageCell
  • Field Details

    • STACK_LIMIT

      public static final long STACK_LIMIT
  • Method Details

    • getStatus

      public appeng.api.storage.cells.CellState getStatus()
      Specified by:
      getStatus in interface appeng.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

      public CompressionChain getCompressionChain()
    • getDecompressionPatterns

      public Set<appeng.api.crafting.IPatternDetails> getDecompressionPatterns()
    • getIdleDrain

      public double getIdleDrain()
      Specified by:
      getIdleDrain in interface appeng.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:
      insert in interface appeng.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:
      extract in interface appeng.api.storage.MEStorage
    • persist

      public void persist()
      Specified by:
      persist in interface appeng.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:
      getAvailableStacks in interface appeng.api.storage.MEStorage
    • isPreferredStorageFor

      public boolean isPreferredStorageFor(appeng.api.stacks.AEKey what, appeng.api.networking.security.IActionSource source)
      Specified by:
      isPreferredStorageFor in interface appeng.api.storage.MEStorage
    • canFitInsideCell

      public boolean canFitInsideCell()
      Specified by:
      canFitInsideCell in interface appeng.api.storage.cells.StorageCell
    • getDescription

      public net.minecraft.network.chat.Component getDescription()
      Specified by:
      getDescription in interface appeng.api.storage.MEStorage