Class NoopGridOperations

java.lang.Object
com.refinedmods.refinedstorage.api.grid.operations.NoopGridOperations
All Implemented Interfaces:
GridOperations

public class NoopGridOperations extends Object implements GridOperations
  • Constructor Details

    • NoopGridOperations

      public NoopGridOperations()
  • Method Details

    • extract

      public boolean extract(ResourceKey resource, GridExtractMode extractMode, InsertableStorage destination)
      Description copied from interface: GridOperations
      Tries to move a resource from the network storage to the destination. The amount being extracted depends on the extraction mode.
      Specified by:
      extract in interface GridOperations
      Parameters:
      resource - the resource
      extractMode - the extract mode
      destination - the destination
    • insert

      public boolean insert(ResourceKey resource, GridInsertMode insertMode, ExtractableStorage source)
      Description copied from interface: GridOperations
      Tries to move a resource from the source to the network storage. The amount being inserted depends on the insert mode.
      Specified by:
      insert in interface GridOperations
      Parameters:
      resource - the resource
      insertMode - the insertion mode
      source - the source