Interface StackExportStrategy


@Experimental public interface StackExportStrategy
Strategy to export stacks into adjacent blocks from the grid. Used by the export bus.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    push(AEKey what, long maxAmount, Actionable mode)
    Tries inserting into the adjacent inventory and returns the amount that was pushed.
    static void
     
    long
    transfer(StackTransferContext context, AEKey what, long maxAmount)
    Transfer from the network inventory in to the external inventory this strategy was created for.
  • Method Details

    • transfer

      long transfer(StackTransferContext context, AEKey what, long maxAmount)
      Transfer from the network inventory in to the external inventory this strategy was created for.
    • push

      long push(AEKey what, long maxAmount, Actionable mode)
      Tries inserting into the adjacent inventory and returns the amount that was pushed.
    • register

      static void register(AEKeyType type, StackExportStrategy.Factory factory)