java.lang.Object
com.refinedmods.refinedstorage.api.storage.AbstractProxyStorage
com.refinedmods.refinedstorage.api.storage.composite.PriorityStorage
All Implemented Interfaces:
PriorityProvider, ExtractableStorage, InsertableStorage, Storage, StorageView

@API(status=STABLE, since="2.0.0-milestone.3.6") public class PriorityStorage extends AbstractProxyStorage implements PriorityProvider
  • Method Details

    • of

      public static PriorityStorage of(Storage delegate, int insertPriority, int extractPriority)
    • setInsertPriority

      public void setInsertPriority(int insertPriority)
    • setExtractPriority

      public void setExtractPriority(int extractPriority)
    • getInsertPriority

      public int getInsertPriority()
      Description copied from interface: PriorityProvider
      The priority, higher priority storages will be inserted into first.
      Specified by:
      getInsertPriority in interface PriorityProvider
      Returns:
      the priority
    • getExtractPriority

      public int getExtractPriority()
      Description copied from interface: PriorityProvider
      The priority, higher priority storages will be extracted from first.
      Specified by:
      getExtractPriority in interface PriorityProvider
      Returns:
      the priority