Interface StorageView

All Known Subinterfaces:
CompositeAwareChild, CompositeStorage, FuzzyRootStorage, LimitedStorage, RootStorage, SerializableStorage, Storage, StorageNetworkComponent, TrackedStorage
All Known Implementing Classes:
AbstractProxyStorage, CompositeStorageImpl, ExternalStorage, LimitedStorageImpl, NoopStorage, PlatformStorageNetworkComponent, PriorityStorage, RootStorageImpl, StateTrackedStorage, StorageImpl, com.refinedmods.refinedstorage.api.network.impl.storage.StorageNetworkComponentImpl, TrackedStorageImpl

@API(status=STABLE, since="2.0.0-milestone.1.2") public interface StorageView
Represents a storage where the contents can be retrieved.
  • Method Details

    • getAll

      Returns:
      a list of resource amounts
    • getStored

      long getStored()
      Returns:
      the amount stored