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 priority)
    • setPriority

      public void setPriority(int priority)
    • getPriority

      public int getPriority()
      Description copied from interface: PriorityProvider
      The priority. Higher priority storages will be inserted into and extracted from first.
      Specified by:
      getPriority in interface PriorityProvider
      Returns:
      the priority