Interface SingleSlotStorage<T>

Type Parameters:
T - The type of the stored resource.
All Superinterfaces:
Iterable<StorageView<T>>, SlottedStorage<T>, Storage<T>, StorageView<T>
All Known Implementing Classes:
FullItemFluidStorage, SingleFluidStorage, SingleItemStorage, SingleStackStorage, SingleVariantItemStorage, SingleVariantStorage

public interface SingleSlotStorage<T> extends SlottedStorage<T>, StorageView<T>
A storage that is also its only storage view. It can be used in APIs for storages that are wrappers around a single "slot", or for slightly more convenient implementation.
  • Method Details